-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
38 lines (38 loc) · 942 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
34
35
36
37
38
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended"
// "plugin:react/recommended"
],
"rules": {
"indent": ["error", 2],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"comma-dangle": ["error", "never"],
"no-cond-assign": ["error", "always"],
"no-console": "off",
"eqeqeq": ["error", "smart"],
"curly": ["error", "multi-line"],
"no-else-return": ["error"],
"no-eval": ["error"],
"no-use-before-define": ["error"],
"no-undef": ["error"],
"array-bracket-spacing": ["error", "never"],
"object-curly-spacing": ["error", "always"]
// "react/prop-types": [ true, { "ignore": ["children"] }]
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
// "jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
}
}