Skip to content

Commit

Permalink
Update default type
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Sep 9, 2022
1 parent 80b3125 commit 95074a0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/rules/anchor-label.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

module.exports = {
meta: {
type: 'problem',
docs: {
description: 'Rule to enforce descriptive anchor label',
category: 'Best Practices',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/button-icon-a11ytitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

module.exports = {
meta: {
type: 'problem',
docs: {
description: 'Rule to enforce a11yTitle on icon-only buttons',
category: 'Best Practices',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/button-single-kind.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

module.exports = {
meta: {
type: 'problem',
type: 'suggestion',
docs: {
description: 'Rule to ensure Button does not have multiple kinds applied',
category: 'Best Practices',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/formfield-htmlfor-id.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

module.exports = {
meta: {
type: 'problem',
docs: {
description:
'Rule to enforce matching htmlFor and id on FormField and its child input, respectively',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/formfield-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

module.exports = {
meta: {
type: 'problem',
docs: {
description: 'Rule to enforce name on FormField and its child input',
category: 'Best Practices',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/formfield-prefer-children.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

module.exports = {
meta: {
type: 'suggestion',
docs: {
description:
'Recommend use of children with FormField as opposed to component property',
Expand All @@ -22,7 +23,6 @@ module.exports = {
'formfield-prefer-children': `It is not recommended to use the 'component' property. Instead,
implement the input as a child of FormField.`,
},
type: 'suggestion',
},

create: function (context) {
Expand Down

0 comments on commit 95074a0

Please sign in to comment.