Skip to content

Commit f0a027b

Browse files
committed
Fix the warning of eslint-plugin-react
Fix the warning of React version not speicifed in eslint-plugin-react settings. See also: - jsx-eslint/eslint-plugin-react#1955
1 parent d02996b commit f0a027b

File tree

3 files changed

+12268
-402
lines changed

3 files changed

+12268
-402
lines changed

.eslintrc.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ module.exports = {
2424
Feature: 'readonly',
2525
Scenario: 'readonly',
2626
},
27-
rules: {
27+
settings: {
28+
react: {
29+
version: 'latest',
30+
},
2831
},
32+
rules: {},
2933
};

0 commit comments

Comments
 (0)