Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Replace no-duplicate-imports rule with import/no-duplicates.
Anders Kaseorg9570ced4623f
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 1ea0a718169..f31c3af72d4 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -50,6 +50,7 @@"import/extensions": "error","import/first": "error","import/newline-after-import": "error",+ "import/no-duplicates": "error","import/no-self-import": "error","import/no-unresolved": "off","import/no-useless-path-segments": "error",@@ -64,7 +65,6 @@"no-catch-shadow": "error","no-constant-condition": ["error", {"checkLoops": false}],"no-div-regex": "error",- "no-duplicate-imports": "error","no-else-return": "error","no-eq-null": "error","no-eval": "error",@@ -169,7 +169,6 @@},"rules": {// Disable base rule to avoid conflict- "no-duplicate-imports": "off","no-use-before-define": "off","@typescript-eslint/consistent-type-definitions": ["error", "type"],@@ -179,7 +178,6 @@{"allowExpressions": true}],"@typescript-eslint/member-ordering": "error",- "@typescript-eslint/no-duplicate-imports": "error","@typescript-eslint/no-non-null-assertion": "off","@typescript-eslint/no-parameter-properties": "error","@typescript-eslint/no-unnecessary-condition": "off",