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
1 changed files with 7 additions and 0 deletions

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