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