mirror of https://github.com/jkjoy/sunpeiwen.git
17 lines
394 B
Plaintext
17 lines
394 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"eqeqeq": [2, "allow-null"],
|
|
"func-name-matching": 0,
|
|
"indent": [2, 4],
|
|
"max-nested-callbacks": [2, 3],
|
|
"max-params": [2, 3],
|
|
"max-statements": [2, 14],
|
|
"no-invalid-this": [1],
|
|
"no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
|
|
}
|
|
}
|