-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 911 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
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true
},
"rules": {
"comma-spacing": [2, { "before": false, "after": true }],
"eqeqeq": 2,
"handle-callback-err": 2,
"indent": ["error", 2, {
"SwitchCase": 1,
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
"FunctionDeclaration": { "parameters": "first" },
"CallExpression": { "arguments": "first" }
}],
"keyword-spacing": 2,
"max-len": [2, { "code": 99 }],
"no-eq-null": 2,
"no-eval": 2,
"no-tabs": 2,
"no-var": 2,
"semi": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}]
},
"extends": [
"eslint:recommended"
]
}