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.
40 lines
646 B
40 lines
646 B
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"array-bracket-newline": 0,
|
|
"array-element-newline": 0,
|
|
"func-name-matching": 0,
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
"multiline-comment-style": 0,
|
|
"new-cap": [2, {
|
|
"capIsNewExceptions": [
|
|
"ArraySpeciesCreate",
|
|
"Call",
|
|
"CreateDataPropertyOrThrow",
|
|
"FlattenIntoArray",
|
|
"Get",
|
|
"HasProperty",
|
|
"IsArray",
|
|
"Set",
|
|
"ToInteger",
|
|
"ToLength",
|
|
"ToObject",
|
|
"ToString"
|
|
]
|
|
}],
|
|
"no-magic-numbers": 0,
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"max-params": 0,
|
|
"no-invalid-this": [1],
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|