Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Clean up configuration.
Anders Kaseorg5fda9f343961
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 765fdf59172..fd821240318 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -50,13 +50,7 @@"import/newline-after-import": "error","import/no-self-import": "error","import/no-useless-path-segments": "error",- "import/order": [- "error",- {- "alphabetize": {"order": "asc"},- "newlines-between": "always"- }- ],+ "import/order": ["error", {"alphabetize": {"order": "asc"}, "newlines-between": "always"}],"import/unambiguous": "error","lines-around-directive": "error","new-cap": "error",@@ -104,12 +98,7 @@"object-shorthand": ["error", "always", {"avoidExplicitReturnArrows": true}],"one-var": ["error", "never"],"prefer-arrow-callback": "error",- "prefer-const": [- "error",- {- "ignoreReadBeforeAssign": true- }- ],+ "prefer-const": ["error", {"ignoreReadBeforeAssign": true}],"radix": "error","sort-imports": ["error", {"ignoreDeclarationSort": true}],"spaced-comment": ["error", "always", {"markers": ["/"]}],@@ -119,11 +108,9 @@"unicorn/filename-case": "off","unicorn/no-await-expression-member": "off","unicorn/no-negated-condition": "off",- "unicorn/no-nested-ternary": "off","unicorn/no-null": "off","unicorn/no-process-exit": "off","unicorn/no-useless-undefined": "off",- "unicorn/number-literal-case": "off","unicorn/numeric-separators-style": "off","unicorn/prefer-module": "off","unicorn/prefer-node-protocol": "off",@@ -188,18 +175,16 @@{"allowExpressions": true}],"@typescript-eslint/member-ordering": "error",- "@typescript-eslint/no-duplicate-imports": "off",- "@typescript-eslint/no-explicit-any": "off",+ "@typescript-eslint/no-duplicate-imports": "error","@typescript-eslint/no-extraneous-class": "error",- "@typescript-eslint/no-non-null-assertion": "off","@typescript-eslint/no-parameter-properties": "error","@typescript-eslint/no-unnecessary-qualifier": "error",- "@typescript-eslint/no-unused-vars": ["error", {"ignoreRestSiblings": true}],"@typescript-eslint/no-unsafe-argument": "off","@typescript-eslint/no-unsafe-assignment": "off","@typescript-eslint/no-unsafe-call": "off","@typescript-eslint/no-unsafe-member-access": "off","@typescript-eslint/no-unsafe-return": "off",+ "@typescript-eslint/no-unused-vars": ["error", {"ignoreRestSiblings": true}],"@typescript-eslint/no-use-before-define": "error","@typescript-eslint/no-useless-constructor": "error","@typescript-eslint/prefer-includes": "error",