/
.eslintrc
38 lines (34 loc) · 827 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
38
{
"root": true,
"extends": "@ljharb",
"parserOptions": {
"ecmaVersion": 2018,
},
"env": {
"es6": true,
},
"rules": {
// TODO: fix when https://github.com/eslint/eslint/pull/13166#issuecomment-667627590 is fixed
"comma-dangle": [2, /*"always-multiline",*/ {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline",
}],
"dot-notation": [2, {
"allowKeywords": true,
}],
"eqeqeq": [2, "allow-null"],
"func-style": 1,
"id-length": 0,
"max-lines": 0,
"max-lines-per-function": 0,
"max-statements": 1,
"multiline-comment-style": 0,
"object-shorthand": [2, "always"],
"operator-linebreak": [2, "before"],
"quote-props": [2, "consistent-as-needed"],
"sort-keys": 0,
},
}