1 |
3a515b92
|
cagy
|
{
|
2 |
|
|
"root": true,
|
3 |
|
|
|
4 |
|
|
"extends": "@ljharb",
|
5 |
|
|
|
6 |
|
|
"env": {
|
7 |
|
|
"es6": true,
|
8 |
|
|
},
|
9 |
|
|
|
10 |
|
|
"rules": {
|
11 |
|
|
"array-bracket-newline": 0,
|
12 |
|
|
"array-element-newline": 0,
|
13 |
|
|
"complexity": 0,
|
14 |
|
|
"eqeqeq": [2, "allow-null"],
|
15 |
|
|
"func-name-matching": 0,
|
16 |
|
|
"id-length": [2, { "min": 1, "max": 40 }],
|
17 |
|
|
"max-params": [2, 4],
|
18 |
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
19 |
|
|
"multiline-comment-style": 0,
|
20 |
|
|
"no-magic-numbers": 0,
|
21 |
|
|
"new-cap": 0,
|
22 |
|
|
"no-extra-parens": 1,
|
23 |
|
|
"operator-linebreak": [2, "before"],
|
24 |
|
|
"sort-keys": 0,
|
25 |
|
|
},
|
26 |
|
|
|
27 |
|
|
"overrides": [
|
28 |
|
|
{
|
29 |
|
|
"files": "operations/*",
|
30 |
|
|
"rules": {
|
31 |
|
|
"max-lines": 0,
|
32 |
|
|
},
|
33 |
|
|
},
|
34 |
|
|
{
|
35 |
|
|
"files": "operations/*.js",
|
36 |
|
|
"parserOptions": {
|
37 |
|
|
"ecmaVersion": 2020,
|
38 |
|
|
},
|
39 |
|
|
"rules": {
|
40 |
|
|
"no-console": 0,
|
41 |
|
|
"no-multi-str": 0,
|
42 |
|
|
},
|
43 |
|
|
},
|
44 |
|
|
{
|
45 |
|
|
"files": "operations/getOps.js",
|
46 |
|
|
"rules": {
|
47 |
|
|
"no-console": 0,
|
48 |
|
|
"no-process-exit": 0,
|
49 |
|
|
},
|
50 |
|
|
},
|
51 |
|
|
{
|
52 |
|
|
"files": "test/**",
|
53 |
|
|
"rules": {
|
54 |
|
|
"id-length": 0,
|
55 |
|
|
"max-lines": 0,
|
56 |
|
|
"max-lines-per-function": 0,
|
57 |
|
|
"max-statements-per-line": [2, { "max": 3 }],
|
58 |
|
|
"max-statements": 0,
|
59 |
|
|
"no-implicit-coercion": 0,
|
60 |
|
|
"no-invalid-this": 1,
|
61 |
|
|
"object-curly-newline": 0,
|
62 |
|
|
"prefer-regex-literals": 0,
|
63 |
|
|
},
|
64 |
|
|
},
|
65 |
|
|
],
|
66 |
|
|
}
|