Skip to content

Commit dcadf60

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc.js

+3
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)