Skip to content

Commit

Permalink
Relax react/sort-prop-types rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Mar 20, 2017
1 parent f3c9fe7 commit 62c1ebc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ module.exports = {
'react/no-set-state': 'warn',
// Enforce propTypes declarations alphabetical sorting
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-prop-types.md
'react/sort-prop-types': [ 'error', {
requiredFirst: true,
} ],
'react/sort-prop-types': 'error',
},
}

0 comments on commit 62c1ebc

Please sign in to comment.