28 lines
383 B
Plaintext
28 lines
383 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
|
||
|
"extends": "@ljharb",
|
||
|
|
||
|
"rules": {
|
||
|
"id-length": [2, { "min": 1, "max": 30 }],
|
||
|
"new-cap": [2, {
|
||
|
"capIsNewExceptions": [
|
||
|
"CreateDataProperty",
|
||
|
"IsCallable",
|
||
|
"RequireObjectCoercible",
|
||
|
"ToObject",
|
||
|
]
|
||
|
}],
|
||
|
},
|
||
|
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": "test/**",
|
||
|
"rules": {
|
||
|
"max-lines-per-function": 0,
|
||
|
"no-invalid-this": 1
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
}
|