Skip to content

Commit f0cde87

Browse files
hshoffljharb
authored andcommitted
[eslint-v2][react] jsx-sort-prop-types => sort-prop-types
1 parent bf8a4f6 commit f0cde87

File tree

1 file changed

+2
-2
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+2
-2
lines changed

packages/eslint-config-airbnb/rules/react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ module.exports = {
5454
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.md
5555
'react/jsx-pascal-case': 0,
5656
// Enforce propTypes declarations alphabetical sorting
57-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-prop-types.md
58-
'react/jsx-sort-prop-types': [0, {
57+
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
58+
'react/sort-prop-types': [0, {
5959
'ignoreCase': false,
6060
'callbacksLast': false,
6161
}],

0 commit comments

Comments
 (0)