forked from zhurui/management
30 lines
425 B
Plaintext
30 lines
425 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"id-length": [2, { "min": 1, "max": 26 }],
|
|
"new-cap": [2, {
|
|
"capIsNewExceptions": [
|
|
"GetIntrinsic",
|
|
"ToObject",
|
|
"ToIntegerOrInfinity",
|
|
"ToLength",
|
|
"SameValueZero",
|
|
"RequireObjectCoercible",
|
|
],
|
|
}],
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"max-lines-per-function": 0,
|
|
"no-invalid-this": 1,
|
|
},
|
|
},
|
|
],
|
|
}
|