27 lines
583 B
Plaintext
27 lines
583 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"array-bracket-newline": 0,
|
|
"id-length": 0,
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
"max-statements": [2, 19],
|
|
"new-cap": [2, { "capIsNewExceptions": ["RequireObjectCoercible", "ToObject", "ToUint32", "IsCallable", "ArraySpeciesCreate", "HasProperty", "Get", "ToString", "Call", "CreateDataPropertyOrThrow"] }],
|
|
"no-magic-numbers": 0,
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"max-lines-per-function": 0,
|
|
"max-params": 0,
|
|
"no-invalid-this": 1,
|
|
"strict": 0,
|
|
},
|
|
},
|
|
],
|
|
}
|