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.
28 lines
383 B
28 lines
383 B
2 years ago
|
{
|
||
|
"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
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
}
|