Eslint fix all

This commit is contained in:
March 7th
2022-04-16 19:01:05 +07:00
parent c3764e77c4
commit 2a559f7d36
38 changed files with 209 additions and 207 deletions

View File

@@ -45,7 +45,7 @@
"error",
"global"
],
"no-await-in-loop": "warn",
// "no-await-in-loop": "warn",
"no-compare-neg-zero": "error",
"no-template-curly-in-string": "error",
"no-unsafe-negation": "error",
@@ -85,8 +85,8 @@
"property"
],
"dot-notation": "error",
"eqeqeq": "error",
"no-empty-function": "error",
"eqeqeq": "off",
// "no-empty-function": "error",
"no-floating-decimal": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
@@ -108,13 +108,13 @@
"no-useless-escape": "error",
"no-useless-return": "error",
"no-void": "error",
"no-warning-comments": "warn",
// "no-warning-comments": "warn",
"prefer-promise-reject-errors": "error",
"require-await": "warn",
"wrap-iife": "error",
"yoda": "error",
"no-label-var": "error",
"no-shadow": "error",
// "no-shadow": "error",
"no-undef-init": "error",
"callback-return": "error",
"getter-return": "off",
@@ -163,7 +163,7 @@
"keyword-spacing": "error",
"max-depth": "error",
"max-len": [
"error",
"off",
120,
2
],