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.
37 lines
600 B
37 lines
600 B
{ |
|
"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, |
|
}, |
|
}, |
|
], |
|
}
|
|
|