2020-08-26 01:57:08 +02:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
|
|
|
|
"extends": "@ljharb",
|
|
|
|
|
2022-11-10 11:43:16 +01:00
|
|
|
"ignorePatterns": ["dist/"],
|
|
|
|
|
2020-08-26 01:57:08 +02:00
|
|
|
"rules": {
|
2022-11-10 11:43:16 +01:00
|
|
|
"eqeqeq": [2, "allow-null"],
|
2020-08-26 01:57:08 +02:00
|
|
|
"id-length": [2, { "min": 1, "max": 30 }],
|
|
|
|
"max-statements": [2, 33],
|
|
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
|
|
"no-magic-numbers": [1, { "ignore": [0] }],
|
|
|
|
"no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
|
2021-02-26 04:58:33 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "test/**",
|
|
|
|
"rules": {
|
|
|
|
"no-invalid-this": 1,
|
|
|
|
"max-lines-per-function": 0,
|
|
|
|
"max-statements-per-line": [2, { "max": 3 }],
|
|
|
|
"no-magic-numbers": 0,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2020-08-26 01:57:08 +02:00
|
|
|
}
|