mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
refactor: remove React version not specified warning (#1047)
Add settings to .eslintrc
This commit is contained in:
parent
9ed8f3497c
commit
94c20b44f5
@ -12,6 +12,13 @@
|
|||||||
"plugin:jest/recommended",
|
"plugin:jest/recommended",
|
||||||
"plugin:prettier/recommended"
|
"plugin:prettier/recommended"
|
||||||
],
|
],
|
||||||
|
"settings": {
|
||||||
|
"react": {
|
||||||
|
"pragma": "React", // Pragma to use
|
||||||
|
"version": "16.4.2", // React version
|
||||||
|
"flowVersion": "0.81.0" // Flow version
|
||||||
|
}
|
||||||
|
},
|
||||||
"parser": "babel-eslint",
|
"parser": "babel-eslint",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"sourceType": "module",
|
"sourceType": "module",
|
||||||
|
Loading…
Reference in New Issue
Block a user