mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00:00
Enable eslint rule 'no-case-declarations'
Enable recommended rule 'no-case-declarations' [1] and manually fix violations. [1] https://eslint.org/docs/latest/rules/no-case-declarations Ref: #8068 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@ const configEslintRecommended = {
|
||||
"for-direction": "warn",
|
||||
"getter-return": "warn",
|
||||
"no-async-promise-executor": "warn",
|
||||
"no-case-declarations": "warn",
|
||||
"no-class-assign": "warn",
|
||||
"no-compare-neg-zero": "warn",
|
||||
"no-cond-assign": "warn",
|
||||
|
||||
Reference in New Issue
Block a user