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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-08-28 19:31:23 -07:00 committed by Tim Abbott
parent 279e4b819e
commit 6398bcbd2f
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
"empty-returns/main": "error", "empty-returns/main": "error",
"eqeqeq": "error", "eqeqeq": "error",
"guard-for-in": "error", "guard-for-in": "error",
"import/extensions": "error",
"import/first": "error", "import/first": "error",
"import/newline-after-import": "error", "import/newline-after-import": "error",
"import/no-unresolved": "error", "import/no-unresolved": "error",