1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-08-11 05:51:59 +00:00

misc(config): Updated configs

Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
2022-12-08 11:01:49 +01:00
parent ac8730c10d
commit 2d39399d36
2 changed files with 12 additions and 15 deletions

View File

@@ -18,7 +18,6 @@
"error",
"always"
],
"complexity": "off",
"constructor-super": "error",
"curly": "error",
"dot-notation": "error",
@@ -45,11 +44,7 @@
"warn",
{
"exceptions": [
"_",
"a",
"b",
"c",
"p"
"_"
]
}
],
@@ -61,7 +56,6 @@
"SwitchCase": 1
}
],
"init-declration": "off",
"linebreak-style": [
"error",
"unix"
@@ -115,7 +109,6 @@
"no-import-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-invalid-this": "off",
"no-irregular-whitespace": "error",
"no-label-var": "error",
"no-loss-of-precision": "error",
@@ -126,7 +119,6 @@
"no-promise-executor-return": "error",
"no-prototype-builtins": "error",
"no-regex-spaces": "error",
"no-restricted-globals": "off",
"no-setter-return": "error",
"no-shadow": [
"error",
@@ -191,6 +183,8 @@
],
"spaced-comment": "error",
"use-isnan": "error",
"valid-typeof": "warn"
"valid-typeof": "warn",
"complexity": ["warn", 5],
"max-depth": ["warn", 2]
}
}