diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-07 16:50:00 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-07 16:50:00 +0300 |
commit | d549053615ce308b906ca406f8d6623c0730d636 (patch) | |
tree | 7cf4ded95eec70201217552aa6dca7b35a2aa16d /.eslintrc.json | |
parent | 6153da81564c95f21f01a296dcd21b89f062626d (diff) | |
download | which-ui-d549053615ce308b906ca406f8d6623c0730d636.tar.gz |
style: add import extension rule
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 3 |
1 files changed, 2 insertions, 1 deletions
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 +} |