forked from pe99/react-battleships
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (30 loc) · 773 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"root": true,
"plugins": ["react-redux"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"extends": [
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-redux/recommended",
"plugin:import/recommended"
],
"rules": {
"react/react-in-jsx-scope": "off",
"no-case-declarations": "off",
"react-redux/useSelector-prefer-selectors": "off",
"react/prop-types": "off",
"react/no-unescaped-entities": "warn",
"import/no-unresolved": "warn",
"no-unused-vars": "error",
"no-console": "error"
},
"parser": "@babel/eslint-parser",
"parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": 2015 }
}