Skip to content

Commit 5715dc8

Browse files
committed
update conf
1 parent 610eb75 commit 5715dc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ module.exports = {
1414
'plugin:import/warnings',
1515
'plugin:jsx-a11y/recommended',
1616
'plugin:react-hooks/recommended',
17-
'plugin:react/jsx-runtime',
1817
'plugin:react/recommended',
18+
'plugin:react/jsx-runtime',
1919
'prettier',
2020
],
2121
rules: {
@@ -97,6 +97,9 @@ module.exports = {
9797
'react/jsx-no-bind': 'off',
9898
},
9999
settings: {
100+
languageOptions: {
101+
globals: [{ React: 'readonly' }],
102+
},
100103
'import/parsers': {
101104
'@typescript-eslint/parser': ['.ts', '.tsx', '.js', '.jsx'],
102105
},

0 commit comments

Comments
 (0)