mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
22 lines
647 B
Plaintext
22 lines
647 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"complexity": 0,
|
|
"consistent-return": 1,
|
|
"func-name-matching": 0,
|
|
"id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
|
|
"indent": [2, 4],
|
|
"max-lines-per-function": [2, { "max": 150 }],
|
|
"max-params": [2, 14],
|
|
"max-statements": [2, 52],
|
|
"multiline-comment-style": 0,
|
|
"no-continue": 1,
|
|
"no-magic-numbers": 0,
|
|
"no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
"operator-linebreak": [2, "before"],
|
|
}
|
|
}
|