mirror of https://github.com/zulip/zulip.git
eslint: Forbid .js and .ts extensions on imports.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
279e4b819e
commit
6398bcbd2f
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue