ESLint fix for switches

This commit is contained in:
Mylloon 2022-07-22 01:11:10 +02:00
parent fc3a2640ca
commit 456ebae87b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -20,7 +20,7 @@
"curly": ["error", "multi-line", "consistent"], "curly": ["error", "multi-line", "consistent"],
"dot-location": ["error", "property"], "dot-location": ["error", "property"],
"handle-callback-err": "off", "handle-callback-err": "off",
"indent": ["error", "tab"], "indent": ["error", "tab", { "SwitchCase": 1 }],
"keyword-spacing": "error", "keyword-spacing": "error",
"max-nested-callbacks": ["error", { "max": 4 }], "max-nested-callbacks": ["error", { "max": 4 }],
"max-statements-per-line": ["error", { "max": 2 }], "max-statements-per-line": ["error", { "max": 2 }],