diff --git a/lib/rules/boolean-prop-naming.js b/lib/rules/boolean-prop-naming.js index f1c7420a7f..fcbb95b573 100644 --- a/lib/rules/boolean-prop-naming.js +++ b/lib/rules/boolean-prop-naming.js @@ -24,7 +24,7 @@ const messages = { module.exports = { meta: { docs: { - category: 'Stylistic Issues', + category: 'Best Practices', description: 'Enforces consistent naming for boolean props', recommended: false, url: docsUrl('boolean-prop-naming'), diff --git a/lib/rules/destructuring-assignment.js b/lib/rules/destructuring-assignment.js index 2536bd671d..a86afc39b2 100644 --- a/lib/rules/destructuring-assignment.js +++ b/lib/rules/destructuring-assignment.js @@ -57,7 +57,7 @@ module.exports = { meta: { docs: { description: 'Enforce consistent usage of destructuring assignment of props, state, and context', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('destructuring-assignment'), }, diff --git a/lib/rules/function-component-definition.js b/lib/rules/function-component-definition.js index 8e6103ae8a..7ecf203071 100644 --- a/lib/rules/function-component-definition.js +++ b/lib/rules/function-component-definition.js @@ -119,7 +119,7 @@ module.exports = { meta: { docs: { description: 'Enforce a specific function type for function components', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('function-component-definition'), }, diff --git a/lib/rules/jsx-boolean-value.js b/lib/rules/jsx-boolean-value.js index 43395e2490..ff4b233986 100644 --- a/lib/rules/jsx-boolean-value.js +++ b/lib/rules/jsx-boolean-value.js @@ -72,7 +72,7 @@ module.exports = { meta: { docs: { description: 'Enforce boolean attributes notation in JSX', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('jsx-boolean-value'), }, diff --git a/lib/rules/jsx-filename-extension.js b/lib/rules/jsx-filename-extension.js index ff6f7a7e88..f12107eda2 100644 --- a/lib/rules/jsx-filename-extension.js +++ b/lib/rules/jsx-filename-extension.js @@ -31,7 +31,7 @@ module.exports = { meta: { docs: { description: 'Disallow file extensions that may contain JSX', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('jsx-filename-extension'), }, diff --git a/lib/rules/jsx-fragments.js b/lib/rules/jsx-fragments.js index 38b4dd8b4b..ae0ae23264 100644 --- a/lib/rules/jsx-fragments.js +++ b/lib/rules/jsx-fragments.js @@ -31,7 +31,7 @@ module.exports = { meta: { docs: { description: 'Enforce shorthand or standard form for React fragments', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('jsx-fragments'), }, diff --git a/lib/rules/jsx-pascal-case.js b/lib/rules/jsx-pascal-case.js index a1bb48116a..883b7a9c7c 100644 --- a/lib/rules/jsx-pascal-case.js +++ b/lib/rules/jsx-pascal-case.js @@ -80,7 +80,7 @@ module.exports = { meta: { docs: { description: 'Enforce PascalCase for user-defined JSX components', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('jsx-pascal-case'), }, diff --git a/lib/rules/no-multi-comp.js b/lib/rules/no-multi-comp.js index 31b9ef0d4e..f7f80331e8 100644 --- a/lib/rules/no-multi-comp.js +++ b/lib/rules/no-multi-comp.js @@ -23,7 +23,7 @@ module.exports = { meta: { docs: { description: 'Disallow multiple component definition per file', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('no-multi-comp'), }, diff --git a/lib/rules/no-set-state.js b/lib/rules/no-set-state.js index 486eb211ff..657d0d6944 100644 --- a/lib/rules/no-set-state.js +++ b/lib/rules/no-set-state.js @@ -23,7 +23,7 @@ module.exports = { meta: { docs: { description: 'Disallow usage of setState', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('no-set-state'), }, diff --git a/lib/rules/no-typos.js b/lib/rules/no-typos.js index ba826d523d..0f9277bab9 100644 --- a/lib/rules/no-typos.js +++ b/lib/rules/no-typos.js @@ -32,7 +32,7 @@ module.exports = { meta: { docs: { description: 'Disallow common typos', - category: 'Stylistic Issues', + category: 'Possible Errors', recommended: false, url: docsUrl('no-typos'), }, diff --git a/lib/rules/prefer-es6-class.js b/lib/rules/prefer-es6-class.js index 5ca020ebba..0dcee1f9d1 100644 --- a/lib/rules/prefer-es6-class.js +++ b/lib/rules/prefer-es6-class.js @@ -22,7 +22,7 @@ module.exports = { meta: { docs: { description: 'Enforce ES5 or ES6 class for React Components', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('prefer-es6-class'), }, diff --git a/lib/rules/prefer-read-only-props.js b/lib/rules/prefer-read-only-props.js index a0353b38c0..89364b5530 100644 --- a/lib/rules/prefer-read-only-props.js +++ b/lib/rules/prefer-read-only-props.js @@ -39,7 +39,7 @@ module.exports = { meta: { docs: { description: 'Enforce that props are read-only', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('prefer-read-only-props'), }, diff --git a/lib/rules/prefer-stateless-function.js b/lib/rules/prefer-stateless-function.js index 2743ea38aa..0493b800eb 100644 --- a/lib/rules/prefer-stateless-function.js +++ b/lib/rules/prefer-stateless-function.js @@ -28,7 +28,7 @@ module.exports = { meta: { docs: { description: 'Enforce stateless components to be written as a pure function', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('prefer-stateless-function'), }, diff --git a/lib/rules/state-in-constructor.js b/lib/rules/state-in-constructor.js index e6cc87b283..25e69e2322 100644 --- a/lib/rules/state-in-constructor.js +++ b/lib/rules/state-in-constructor.js @@ -23,7 +23,7 @@ module.exports = { meta: { docs: { description: 'Enforce class component state initialization style', - category: 'Stylistic Issues', + category: 'Best Practices', recommended: false, url: docsUrl('state-in-constructor'), },