From b6e020ea1268b7c8ef8806f8e4ed31466e10ffa5 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 4 Sep 2018 20:38:58 -0700 Subject: [PATCH] Teach ESLint import rule about typescript files --- .eslintrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.eslintrc b/.eslintrc index 1f8899d4..561d4dbc 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,6 +12,14 @@ "settings": { "react": { "version": "15.2" + }, + "import/resolver": { + "node": { + "extensions": [ + ".js", + ".ts" + ] + } } }, "env": {