aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:27:28 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:29:57 +0300
commit0fdc1f6b956dbc273325842a4af60a5425826f5f (patch)
tree2ef5e77c218b3f781bb6334f5deae9323b3168dc /src
parentd1085d5b1a84f7534b3df524a7dc43e4a2a61c9b (diff)
downloadeslint-config-0fdc1f6b956dbc273325842a4af60a5425826f5f.tar.xz
eslint-config-0fdc1f6b956dbc273325842a4af60a5425826f5f.zip
feat(eslint): Rule "no-duplicate-imports"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 7c2e48c..91af2ff 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -218,6 +218,12 @@
"no-debugger": [
"warn"
],
+ "no-duplicate-imports": [
+ "error",
+ {
+ "includeExports": true
+ }
+ ],
"no-else-return": [
"error",
{