init source
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"root": true,
|
||||
|
||||
"extends": "@ljharb",
|
||||
|
||||
"rules": {
|
||||
"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,
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user