Skip to content

Commit

Permalink
Relax react/jsx-sort-props rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Mar 20, 2017
1 parent 57c75e3 commit cd4a6a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ module.exports = {
'react/jsx-no-duplicate-props': 'error',
// Enforce props alphabetical sorting
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-props.md
'react/jsx-sort-props': [ 'error', {
callbacksLast: true,
shorthandFirst: true,
} ],
'react/jsx-sort-props': 'error',
// Validate spacing before closing bracket in JSX
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-space-before-closing.md
'react/jsx-space-before-closing': [ 'error', 'always' ],
Expand Down

0 comments on commit cd4a6a1

Please sign in to comment.