0
Fork 0
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:
Utwo 2018-10-04 15:19:50 +03:00 committed by Juan Picado @jotadeveloper
parent 9ed8f3497c
commit 94c20b44f5

View file

@ -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",