From d549053615ce308b906ca406f8d6623c0730d636 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 7 Jun 2020 16:50:00 +0300 Subject: style: add import extension rule --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index 0789840..4899960 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,6 +15,7 @@ "max-len": ["error", { "code": 120 }], "arrow-parens": [2, "as-needed"], "comma-dangle": ["error", "never"], + "import/extensions": ["error", { "ts": "never", "tsx": "never" }], "arrow-body-style": 0, "no-cond-assign": 0, "linebreak-style": 0, @@ -22,4 +23,4 @@ "react/no-children-prop": 0, "react/no-danger": 0 } -} \ No newline at end of file +} -- cgit v1.2.3