1
0
forked from mirrors/0ad

Enable eslint rule 'no-prototype-builtins'

Enable recommended rule 'no-prototype-builtins' [1] and manually fix violations.

[1] https://eslint.org/docs/latest/rules/no-prototype-builtins

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 f87d266e4e
commit f29f0b7fd1
10 changed files with 14 additions and 13 deletions
+1
View File
@@ -61,6 +61,7 @@ const configEslintRecommended = {
"no-nonoctal-decimal-escape": "warn",
"no-obj-calls": "warn",
"no-octal": "warn",
"no-prototype-builtins": "warn",
"no-redeclare": "warn",
"no-regex-spaces": "warn",
"no-self-assign": "warn",