mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-12-25 16:19:00 +00:00
38 lines
600 B
Plaintext
38 lines
600 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"id-length": 0,
|
|
"max-statements-per-line": [2, { "max": 2 }],
|
|
"max-statements": [2, 22],
|
|
"multiline-comment-style": 1,
|
|
"new-cap": [2, {
|
|
"capIsNewExceptions": [
|
|
"AddEntriesFromIterable",
|
|
"CreateDataPropertyOrThrow",
|
|
"Get",
|
|
"GetIterator",
|
|
"IsArray",
|
|
"IteratorStep",
|
|
"IteratorClose",
|
|
"IteratorValue",
|
|
"ThrowCompletion",
|
|
"ToPropertyKey",
|
|
"Type",
|
|
"RequireObjectCoercible",
|
|
],
|
|
}],
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"no-invalid-this": 1,
|
|
},
|
|
},
|
|
],
|
|
}
|