Bump up eslint-config-standard-react and add fix for the new warnings
This started giving errors like: 22:10 error 'Alert' is defined but never used no-unused-vars Use eslint-plugin-react to improve the JSX usage, not just to silence this error.
This commit is contained in:
parent
e4732583a9
commit
fdba1dc96c
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": ["eslint:recommended", "standard", "standard-react"],
|
||||
"extends": ["eslint:recommended", "standard", "standard-react", "plugin:react/recommended"],
|
||||
"parser": "@babel/eslint-parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "7",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue