| 1 |
{ |
| 2 |
"root": true, |
| 3 |
|
| 4 |
"extends": "@ljharb", |
| 5 |
|
| 6 |
"rules": { |
| 7 |
"complexity": 0, |
| 8 |
"eqeqeq": [2, "always", { "null": "ignore" }], |
| 9 |
"func-style": [2, "declaration"], |
| 10 |
"id-length": 0, |
| 11 |
"indent": [2, 2], |
| 12 |
"max-params": [2, 6], |
| 13 |
"max-statements-per-line": [2, { "max": 2 }], |
| 14 |
"new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], |
| 15 |
"no-magic-numbers": [2, { "ignore": [0, 1] }], |
| 16 |
}, |
| 17 |
|
| 18 |
"globals": { |
| 19 |
"Int8Array": false, |
| 20 |
"Uint8Array": false, |
| 21 |
}, |
| 22 |
|
| 23 |
"overrides": [ |
| 24 |
{ |
| 25 |
"files": "example/**", |
| 26 |
"rules": { |
| 27 |
"no-console": 0, |
| 28 |
"no-magic-numbers": 0, |
| 29 |
} |
| 30 |
}, |
| 31 |
{ |
| 32 |
"files": "test/**", |
| 33 |
"rules": { |
| 34 |
"max-lines-per-function": 0, |
| 35 |
"max-params": 0, |
| 36 |
"no-magic-numbers": 0, |
| 37 |
}, |
| 38 |
}, |
| 39 |
], |
| 40 |
} |