Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Forbid .js and .ts extensions on imports.

Anders Kaseorg6398bcbd2f8e
diff --git a/.eslintrc.json b/.eslintrc.json
index 8ddcd806a89..684eacb0fd6 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -19,6 +19,7 @@
"empty-returns/main": "error",
"eqeqeq": "error",
"guard-for-in": "error",
+ "import/extensions": "error",
"import/first": "error",
"import/newline-after-import": "error",
"import/no-unresolved": "error",