diff --git a/eslint.config.mjs b/eslint.config.mjs index f89980cf68..c7cd7a099c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -24,28 +24,59 @@ const configIgnores = { const configEslintRecommended = { "rules": { + "constructor-super": "warn", + "for-direction": "warn", + "getter-return": "warn", + "no-async-promise-executor": "warn", "no-class-assign": "warn", + "no-compare-neg-zero": "warn", "no-cond-assign": "warn", "no-const-assign": "warn", + "no-constant-binary-expression": "warn", "no-constant-condition": ["error", { "checkLoops": false }], + "no-control-regex": "warn", + "no-debugger": "warn", "no-delete-var": "warn", "no-dupe-args": "warn", "no-dupe-class-members": "warn", + "no-dupe-else-if": "warn", "no-dupe-keys": "warn", "no-duplicate-case": "warn", "no-empty": "warn", + "no-empty-character-class": "warn", + "no-empty-pattern": "warn", + "no-empty-static-block": "warn", + "no-ex-assign": "warn", "no-extra-boolean-cast": "warn", "no-func-assign": "warn", + "no-global-assign": "warn", + "no-import-assign": "warn", + "no-invalid-regexp": "warn", "no-irregular-whitespace": "warn", + "no-loss-of-precision": "warn", + "no-misleading-character-class": "warn", + "no-new-native-nonconstructor": "warn", + "no-nonoctal-decimal-escape": "warn", "no-obj-calls": "warn", + "no-octal": "warn", "no-redeclare": "warn", + "no-regex-spaces": "warn", "no-self-assign": "warn", + "no-setter-return": "warn", "no-shadow-restricted-names": "warn", + "no-this-before-super": "warn", /* "no-undef": "warn", */ + "no-unexpected-multiline": "warn", "no-unreachable": "warn", + "no-unsafe-finally": "warn", "no-unsafe-negation": ["warn", { "enforceForOrderingRelations": true }], + "no-unsafe-optional-chaining": "warn", "no-unused-labels": "warn", + "no-unused-private-class-members": "warn", /* "no-unused-vars": "warn", */ + "no-useless-backreference": "warn", + "no-useless-catch": "warn", + "no-with": "warn", "use-isnan": "warn", "valid-typeof": "warn", }