Fix eslint script and related code

This commit is contained in:
islishude 2023-09-18 21:05:08 +08:00
parent 72f2cec99f
commit ed3e1da142
12 changed files with 40 additions and 38 deletions

View file

@ -21,7 +21,7 @@
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-for-in-array": "error",
@ -43,7 +43,9 @@
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
"@typescript-eslint/unbound-method": "error",
"i18n-text/no-en": "off",
"github/no-then": "off"
},
"env": {
"node": true,