Skip to content

Commit 031cc12

Browse files
golopotljharb
andauthored
Apply suggestions from code review
Co-authored-by: Jordan Harband <[email protected]>
1 parent 793d537 commit 031cc12

8 files changed

+8
-8
lines changed

lib/rules/button-has-type.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
meta: {
3333
docs: {
3434
description: 'Forbid "button" element without an explicit "type" attribute',
35-
category: 'Best Practices',
35+
category: 'Possible Errors',
3636
recommended: false,
3737
url: docsUrl('button-has-type'),
3838
},

lib/rules/jsx-handler-names.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
meta: {
2222
docs: {
2323
description: 'Enforce event handler naming conventions in JSX',
24-
category: 'Best Practices',
24+
category: 'Stylistic Issues',
2525
recommended: false,
2626
url: docsUrl('jsx-handler-names'),
2727
},

lib/rules/jsx-max-depth.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
meta: {
2525
docs: {
2626
description: 'Validate JSX maximum depth',
27-
category: 'Best Practices',
27+
category: 'Stylistic Issues',
2828
recommended: false,
2929
url: docsUrl('jsx-max-depth'),
3030
},

lib/rules/jsx-no-useless-fragment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = {
8989
fixable: 'code',
9090
docs: {
9191
description: 'Disallow unnecessary fragments',
92-
category: 'Best Practices',
92+
category: 'Possible Errors',
9393
recommended: false,
9494
url: docsUrl('jsx-no-useless-fragment'),
9595
},

lib/rules/no-invalid-html-attribute.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ module.exports = {
533533
meta: {
534534
fixable: 'code',
535535
docs: {
536-
description: 'Forbid attribute with an invalid values',
536+
description: 'Forbid attribute with an invalid value',
537537
category: 'Possible Errors',
538538
url: docsUrl('no-invalid-html-attribute'),
539539
},

lib/rules/no-typos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
meta: {
3232
docs: {
3333
description: 'Prevent common typos',
34-
category: 'Best Practices',
34+
category: 'Possible Errors',
3535
recommended: false,
3636
url: docsUrl('no-typos'),
3737
},

lib/rules/no-unstable-nested-components.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ module.exports = {
270270
meta: {
271271
docs: {
272272
description: 'Prevent creating unstable components inside components',
273-
category: 'Best Practices',
273+
category: 'Possible Errors',
274274
recommended: false,
275275
url: docsUrl('no-unstable-nested-components'),
276276
},

lib/rules/prefer-exact-props.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
meta: {
2525
docs: {
2626
description: 'Prefer exact proptype definitions',
27-
category: 'Best Practices',
27+
category: 'Possible Errors',
2828
recommended: false,
2929
url: docsUrl('prefer-exact-props'),
3030
},

0 commit comments

Comments
 (0)