mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +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:prettier/recommended"
|
||||
],
|
||||
"settings": {
|
||||
"react": {
|
||||
"pragma": "React", // Pragma to use
|
||||
"version": "16.4.2", // React version
|
||||
"flowVersion": "0.81.0" // Flow version
|
||||
}
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
|
Loading…
Reference in New Issue
Block a user