-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.eslintrc
More file actions
39 lines (35 loc) · 642 Bytes
/
.eslintrc
File metadata and controls
39 lines (35 loc) · 642 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
35
36
37
38
39
{
"root": true,
"extends": "@ljharb",
"env": {
"browser": true,
"node": true,
},
"rules": {
"eqeqeq": [2, "allow-null"],
"func-name-matching": 0,
"func-style": 1,
"id-length": 0,
"indent": [2, 2],
"max-len": 0,
"max-lines-per-function": 0,
"max-statements-per-line": [2, { "max": 2 }],
"max-statements": 0,
"no-invalid-this": 1,
"no-plusplus": 1,
"no-shadow": 1,
"no-use-before-define": 1,
"one-var-declaration-per-line": 2,
"one-var": [2, "never"],
"sort-keys": 0,
"strict": 1,
},
"overrides": [
{
"files": "**/*.max.js",
"rules": {
"multiline-comment-style": 0,
},
},
],
}