fix eslint shadow with typescript

This commit is contained in:
Mylloon 2022-08-29 18:37:49 +02:00
parent 1c20997703
commit 1126072371
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -31,7 +31,8 @@
"no-lonely-if": "error", "no-lonely-if": "error",
"no-multi-spaces": "error", "no-multi-spaces": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
"no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }], "no-shadow": "off",
"@typescript-eslint/no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }],
"no-trailing-spaces": ["error"], "no-trailing-spaces": ["error"],
"no-var": "error", "no-var": "error",
"object-curly-spacing": ["error", "always"], "object-curly-spacing": ["error", "always"],