mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 16:13:18 +00:00
39 lines
826 B
Plaintext
39 lines
826 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
"extends": "@ljharb",
|
||
|
"rules": {
|
||
|
"complexity": 0,
|
||
|
"eqeqeq": [2, "always", { "null": "ignore" }],
|
||
|
"func-style": [2, "declaration"],
|
||
|
"id-length": 0,
|
||
|
"indent": [2, 2],
|
||
|
"max-params": [2, 6],
|
||
|
"max-statements-per-line": [2, { "max": 2 }],
|
||
|
"new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }],
|
||
|
"no-magic-numbers": [2, { "ignore": [0, 1] }],
|
||
|
"operator-linebreak": [2, "before"],
|
||
|
"strict": 1,
|
||
|
},
|
||
|
"globals": {
|
||
|
"WeakMap": false,
|
||
|
"WeakSet": false,
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": "example/**",
|
||
|
"rules": {
|
||
|
"no-console": 0,
|
||
|
"no-magic-numbers": 0,
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"files": "test/**",
|
||
|
"rules": {
|
||
|
"max-params": 0,
|
||
|
"no-magic-numbers": 0,
|
||
|
"operator-linebreak": [2, "before"],
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
}
|