Skip to content

Commit

Permalink
Fix the warning of eslint-plugin-react
Browse files Browse the repository at this point in the history
Fix the warning of React version not speicifed
in eslint-plugin-react settings.

See also:
- jsx-eslint/eslint-plugin-react#1955
  • Loading branch information
wholemann committed May 5, 2021
1 parent d02996b commit e1fd3c4
Show file tree
Hide file tree
Showing 3 changed files with 12,268 additions and 409 deletions.
13 changes: 5 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ module.exports = {
plugins: [
'react',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
actor: 'readonly',
Feature: 'readonly',
Scenario: 'readonly',
},
rules: {
settings: {
react: {
version: 'latest',
},
},
rules: {},
};
Loading

0 comments on commit e1fd3c4

Please sign in to comment.