2018-12-11 23:26:24 +03:00
|
|
|
{
|
2018-12-12 19:34:22 +03:00
|
|
|
"extends": "plugin:flowtype/recommended",
|
2018-12-11 23:26:24 +03:00
|
|
|
"globals": {
|
|
|
|
"chrome": true
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"jest": true,
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
2018-12-12 19:34:22 +03:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
2018-12-11 23:26:24 +03:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"rules": {
|
|
|
|
"react/jsx-uses-react": 2,
|
|
|
|
"react/jsx-uses-vars": 2,
|
|
|
|
"react/react-in-jsx-scope": 2,
|
|
|
|
"react/sort-comp": 0,
|
|
|
|
"react/jsx-quotes": 0,
|
|
|
|
"eol-last": 0,
|
|
|
|
"no-unused-vars": 0,
|
2018-12-12 23:45:37 +03:00
|
|
|
"no-console": 1,
|
2018-12-12 19:34:22 +03:00
|
|
|
"comma-dangle": 0
|
2018-12-11 23:26:24 +03:00
|
|
|
},
|
|
|
|
"plugins": [
|
2018-12-12 19:34:22 +03:00
|
|
|
"react",
|
|
|
|
"flowtype"
|
2018-12-11 23:26:24 +03:00
|
|
|
]
|
|
|
|
}
|