From 01238e9db4b7a70749a104b0077c5c1b123c21bd Mon Sep 17 00:00:00 2001 From: Roy Sutton Date: Fri, 22 Nov 2019 21:28:46 -0500 Subject: [PATCH] Disable --fix for sort-prop-types --- docs/rules/sort-prop-types.md | 3 --- lib/rules/sort-prop-types.js | 2 -- 2 files changed, 5 deletions(-) diff --git a/docs/rules/sort-prop-types.md b/docs/rules/sort-prop-types.md index ac5798e3c2..6e19a1751c 100644 --- a/docs/rules/sort-prop-types.md +++ b/docs/rules/sort-prop-types.md @@ -2,9 +2,6 @@ Some developers prefer to sort propTypes declarations alphabetically to be able to find necessary declaration easier at the later time. Others feel that it adds complexity and becomes burden to maintain. -**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line. - - ## Rule Details This rule checks all components and verifies that all propTypes declarations are sorted alphabetically. A spread attribute resets the verification. The default configuration of the rule is case-sensitive. diff --git a/lib/rules/sort-prop-types.js b/lib/rules/sort-prop-types.js index 6e0d3c99c9..9622d38d9a 100644 --- a/lib/rules/sort-prop-types.js +++ b/lib/rules/sort-prop-types.js @@ -23,8 +23,6 @@ module.exports = { url: docsUrl('sort-prop-types') }, - fixable: 'code', - schema: [{ type: 'object', properties: {