Skip to content

Commit a90940a

Browse files
authored
Merge pull request #95 from wholemann/fix-eslint-plugin-react
Fix the warning of eslint-plugin-react
2 parents d02996b + e1fd3c4 commit a90940a

File tree

3 files changed

+12268
-409
lines changed

3 files changed

+12268
-409
lines changed

.eslintrc.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,10 @@ module.exports = {
1717
plugins: [
1818
'react',
1919
],
20-
globals: {
21-
Atomics: 'readonly',
22-
SharedArrayBuffer: 'readonly',
23-
actor: 'readonly',
24-
Feature: 'readonly',
25-
Scenario: 'readonly',
26-
},
27-
rules: {
20+
settings: {
21+
react: {
22+
version: 'latest',
23+
},
2824
},
25+
rules: {},
2926
};

0 commit comments

Comments
 (0)