mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
refactor: remove React version not specified warning (#1047)
Add settings to .eslintrc
This commit is contained in:
parent
9ed8f3497c
commit
94c20b44f5
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue