2019-02-06 20:27:58 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
|
|
|
|
"extends": "@ljharb",
|
|
|
|
|
|
|
|
"rules": {
|
2019-03-08 00:15:33 +00:00
|
|
|
"complexity": 0,
|
2019-02-06 20:27:58 +00:00
|
|
|
"consistent-return": 1,
|
|
|
|
"func-name-matching": 0,
|
|
|
|
"id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
|
|
|
|
"indent": [2, 4],
|
|
|
|
"max-params": [2, 12],
|
|
|
|
"max-statements": [2, 45],
|
|
|
|
"no-continue": 1,
|
|
|
|
"no-magic-numbers": 0,
|
|
|
|
"no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
|
|
"operator-linebreak": [2, "before"],
|
|
|
|
}
|
|
|
|
}
|