Skip to content

Commit

Permalink
[change] eslint-plugin-react - jsx-sort-props add reservedFirst
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Jun 4, 2017
1 parent 0ac94b1 commit 356a7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module.exports = {
// Enforce props alphabetical sorting
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-props.md
'react/jsx-sort-props': [2, {
reservedFirst: true,
ignoreCase: true,
callbacksLast: true,
shorthandFirst: true,
Expand Down

0 comments on commit 356a7b3

Please sign in to comment.