Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
590 bytes
|
Line | |
---|
1 | {
|
---|
2 | "root": true,
|
---|
3 |
|
---|
4 | "extends": "@ljharb",
|
---|
5 |
|
---|
6 | "rules": {
|
---|
7 | "complexity": [2, 19],
|
---|
8 | "id-length": [2, { "min": 1, "max": 30 }],
|
---|
9 | "max-statements": [2, 33],
|
---|
10 | "max-statements-per-line": [2, { "max": 2 }],
|
---|
11 | "no-magic-numbers": [1, { "ignore": [0] }],
|
---|
12 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
|
---|
13 | },
|
---|
14 |
|
---|
15 | "overrides": [
|
---|
16 | {
|
---|
17 | "files": "test/**",
|
---|
18 | "rules": {
|
---|
19 | "no-invalid-this": 1,
|
---|
20 | "max-lines-per-function": 0,
|
---|
21 | "max-statements-per-line": [2, { "max": 3 }],
|
---|
22 | "no-magic-numbers": 0,
|
---|
23 | },
|
---|
24 | },
|
---|
25 | ],
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.