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 f0a027b
Show file tree
Hide file tree
Showing 3 changed files with 12,268 additions and 402 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ module.exports = {
Feature: 'readonly',
Scenario: 'readonly',
},
rules: {
settings: {
react: {
version: 'latest',
},
},
rules: {},
};
Loading

0 comments on commit f0a027b

Please sign in to comment.