-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
37 lines (37 loc) · 920 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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"indent": [ "error", 2, { "SwitchCase": 1 } ],
"lines-between-class-members": [ "error", "always" ],
"no-unused-vars": ["warn", { "args": "none", "ignoreRestSiblings": true }],
"no-undef": 1,
"no-dupe-keys": "error",
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-unreachable": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"space-before-blocks": "warn",
"spaced-comment": "warn"
},
"globals": {
"describe": true,
"test": true,
"expect": true,
"afterEach": true,
"beforeEach": true,
"afterAll": true,
"beforeAll": true
}
}