Skip to content

Commit

Permalink
Disable --fix for sort-prop-types
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Sutton committed Nov 23, 2019
1 parent 8093565 commit 01238e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions docs/rules/sort-prop-types.md
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions lib/rules/sort-prop-types.js
Expand Up @@ -23,8 +23,6 @@ module.exports = {
url: docsUrl('sort-prop-types')
},

fixable: 'code',

schema: [{
type: 'object',
properties: {
Expand Down

0 comments on commit 01238e9

Please sign in to comment.