Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Clean up obsolete rules.
Anders Kaseorgc5aa7df1bf3b
diff --git a/eslint.config.js b/eslint.config.jsindex a2309a14919..c7e43d82f13 100644--- a/eslint.config.js+++ b/eslint.config.js@@ -61,7 +61,6 @@ export default [rules: {"array-callback-return": "error","arrow-body-style": "error",- "block-scoped-var": "error","consistent-return": "error",curly: "error","dot-notation": "error",@@ -89,16 +88,12 @@ export default ["no-array-constructor": "error","no-bitwise": "error","no-caller": "error",- "no-catch-shadow": "error","no-constant-condition": ["error", {checkLoops: false}],"no-div-regex": "error","no-else-return": "error",- "no-eq-null": "error","no-eval": "error","no-implicit-coercion": "error","no-implied-eval": "error",- "no-inner-declarations": "off",- "no-iterator": "error","no-jquery/no-append-html": "error","no-jquery/no-constructor-attributes": "error","no-jquery/no-parse-html-literal": "error",@@ -106,10 +101,9 @@ export default ["no-labels": "error","no-loop-func": "error","no-multi-str": "error",- "no-native-reassign": "error","no-new-func": "error",- "no-new-object": "error","no-new-wrappers": "error",+ "no-object-constructor": "error","no-octal-escape": "error","no-plusplus": "error","no-proto": "error",@@ -117,7 +111,6 @@ export default ["no-return-assign": "error","no-script-url": "error","no-self-compare": "error",- "no-sync": "error","no-throw-literal": "error","no-undef-init": "error","no-unneeded-ternary": ["error", {defaultAssignment: false}],@@ -148,7 +141,6 @@ export default ["unicorn/no-useless-undefined": "off","unicorn/numeric-separators-style": "off","unicorn/prefer-global-this": "off",- "unicorn/prefer-module": "off","unicorn/prefer-string-raw": "off","unicorn/prefer-ternary": "off","unicorn/prefer-top-level-await": "off",@@ -256,8 +248,6 @@ export default [rules: {"formatjs/no-id": "off","new-cap": "off",- "no-sync": "off",- "unicorn/prefer-prototype-methods": "off",},},{