1
0
forked from mirrors/0ad

Enable eslint rule 'no-useless-escape'

Enable recommended rule 'no-useless-escape' [1] and manually fix violations.

[1] https://eslint.org/docs/latest/rules/no-useless-escape

Ref: #8068
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-06-14 12:27:36 +02:00
parent f29f0b7fd1
commit 14bb7730fe
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -79,6 +79,7 @@ const configEslintRecommended = {
/* "no-unused-vars": "warn", */
"no-useless-backreference": "warn",
"no-useless-catch": "warn",
"no-useless-escape": "warn",
"no-with": "warn",
"use-isnan": "warn",
"valid-typeof": "warn",