-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
34 lines (34 loc) · 839 Bytes
/
.eslintrc
File metadata and controls
34 lines (34 loc) · 839 Bytes
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
{
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"extends": "eslint:recommended",
"globals": {
"describe": true,
"it": true,
"beforeEach": true,
"before": true,
"after": true,
"afterEach": true,
"xit": true,
"Promise": true
},
"rules": {
"quotes": ["error", "single"],
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "args": "after-used" }],
"object-curly-spacing": ["error", "always"],
"keyword-spacing": "error",
"no-unreachable": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"semi": "error",
"space-infix-ops": "error",
"no-multi-spaces": "error",
"eol-last": "error",
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"indent": ["error", 2, { "SwitchCase": 1 }]
}
}