mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
37 lines
956 B
Text
37 lines
956 B
Text
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"ignorePatterns": [
|
|
"dist/",
|
|
],
|
|
|
|
"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": 0,
|
|
"max-params": [2, 12],
|
|
"max-statements": [2, 45],
|
|
"multiline-comment-style": 0,
|
|
"no-continue": 1,
|
|
"no-magic-numbers": 0,
|
|
"no-param-reassign": 1,
|
|
"no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "test/**",
|
|
"rules": {
|
|
"max-lines-per-function": 0,
|
|
"max-statements": 0,
|
|
"no-extend-native": 0,
|
|
"function-paren-newline": 0,
|
|
},
|
|
},
|
|
],
|
|
}
|