From 6398bcbd2f8ed1f3576326e4ec6c6d395d0ce06d Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 28 Aug 2020 19:31:23 -0700 Subject: [PATCH] eslint: Forbid .js and .ts extensions on imports. Signed-off-by: Anders Kaseorg --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 8ddcd806a8..684eacb0fd 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",