You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
781 B
41 lines
781 B
2 years ago
|
{
|
||
|
"root": true,
|
||
|
|
||
|
"extends": "@ljharb",
|
||
|
|
||
|
"rules": {
|
||
|
"complexity": 0,
|
||
|
"eqeqeq": [2, "always", { "null": "ignore" }],
|
||
|
"func-style": [2, "declaration"],
|
||
|
"id-length": 0,
|
||
|
"indent": [2, 2],
|
||
|
"max-params": [2, 6],
|
||
|
"max-statements-per-line": [2, { "max": 2 }],
|
||
|
"new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }],
|
||
|
"no-magic-numbers": [2, { "ignore": [0, 1] }],
|
||
|
},
|
||
|
|
||
|
"globals": {
|
||
|
"Int8Array": false,
|
||
|
"Uint8Array": false,
|
||
|
},
|
||
|
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": "example/**",
|
||
|
"rules": {
|
||
|
"no-console": 0,
|
||
|
"no-magic-numbers": 0,
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"files": "test/**",
|
||
|
"rules": {
|
||
|
"max-lines-per-function": 0,
|
||
|
"max-params": 0,
|
||
|
"no-magic-numbers": 0,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
}
|