-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 854 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
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"array-callback-return": 1,
"func-style": [2, "expression", { "allowArrowFunctions": true }],
"no-const-assign": 2,
"no-eval": 2,
"no-loop-func": 2,
"no-new-object": 2,
"no-param-reassign": [2, { "props": true}],
"no-useless-escape": 1,
"no-var": 2,
"object-shorthand": 2,
"prefer-const": 2,
"prefer-template": 2,
"quotes": [2, "single"],
"quote-props": [2, "as-needed"],
"semi": 1,
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never"
}],
"space-before-blocks": [2, "always"],
"template-curly-spacing": [2, "never"]
},
"plugins": [
"react"
]
}