1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-06-18 21:49:20 +00:00

Updated config files

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-07-16 16:28:07 +02:00
parent 878ee09889
commit 8781a3f0f5
3 changed files with 111 additions and 18 deletions

View File

@ -27,6 +27,8 @@
"error",
"smart"
],
"for-direction": "error",
"getter-return": "error",
"guard-for-in": "error",
"id-blacklist": [
"error",
@ -39,11 +41,27 @@
"boolean",
"Undefined"
],
"id-length": [
"warn",
{
"exceptions": [
"_",
"a",
"b",
"c",
"p"
]
}
],
"id-match": "error",
"indent": [
"error",
"tab"
"tab",
{
"SwitchCase": 1
}
],
"init-declration": "off",
"linebreak-style": [
"error",
"unix"
@ -59,27 +77,78 @@
}
],
"new-parens": "error",
"no-async-promise-executor": "error",
"no-await-in-loop": "warn",
"no-bitwise": "error",
"no-caller": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
"no-console": "off",
"no-constant-condition": "error",
"no-control-regex": "warn",
"no-debugger": "error",
"no-empty": "error",
"no-delete-var": "error",
"no-dupe-args": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-empty-character-class": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-extra-parens": [
"error",
"all",
{
"ignoreJSX": "multi-line"
}
],
"no-extra-semi": "error",
"no-fallthrough": "off",
"no-func-assign": "error",
"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",
"no-misleading-character-class": "error",
"no-multiple-empty-lines": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-promise-executor-return": "error",
"no-prototype-builtins": "error",
"no-regex-spaces": "error",
"no-restricted-globals": "off",
"no-setter-return": "error",
"no-shadow": [
"error",
{
"builtinGlobals": false,
"hoist": "all"
}
],
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "warn",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-undef-init": "error",
"no-underscore-dangle": "off",
"no-unexpected-multiline": "error",
"no-unreachable": "warn",
"no-unreachable-loop": "warn",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unsafe-optional-chaining": "error",
"no-unused-expressions": [
"error",
{
@ -87,7 +156,7 @@
}
],
"no-unused-labels": "error",
"no-unused-vars": "off",
"no-unused-vars": "warn",
"no-var": "error",
"object-shorthand": "error",
"one-var": [
@ -107,6 +176,7 @@
}
],
"radix": "error",
"require-atomic-updates": "error",
"semi": [
"error",
"never"
@ -121,6 +191,6 @@
],
"spaced-comment": "error",
"use-isnan": "error",
"valid-typeof": "off"
"valid-typeof": "warn"
}
}