Skip to content

Commit 32c7125

Browse files
dashedlynnagara
authored andcommitted
fix(typescript): Warn for react/sort-comp
jsx-eslint/eslint-plugin-react#2066
1 parent e1a7d05 commit 32c7125

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ module.exports = {
1818
rules: {
1919
'@typescript-eslint/no-unused-vars': 'off',
2020
'no-unused-vars': 'off',
21+
22+
// https://github.com/yannickcr/eslint-plugin-react/issues/2066
23+
'react/sort-comp': 'warn',
2124
},
2225
}],
2326
};

0 commit comments

Comments
 (0)