34 lines
489 B
Plaintext
34 lines
489 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"array-bracket-newline": "off",
|
|
"id-length": "off",
|
|
"max-lines-per-function": "off",
|
|
"new-cap": ["error", {
|
|
"capIsNewExceptions": [
|
|
"CreateDataPropertyOrThrow",
|
|
"GroupBy",
|
|
"OrdinaryObjectCreate",
|
|
],
|
|
}],
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "aos/*.js",
|
|
"rules": {
|
|
"max-statements": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": "test/tests.js",
|
|
"rules": {
|
|
"max-lines-per-function": "off",
|
|
},
|
|
},
|
|
],
|
|
}
|