feat(eslint): Rule "no-duplicate-imports"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 02:27:28 +04:00
parent d1085d5b1a
commit 0fdc1f6b95
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -104,7 +104,7 @@
- [ ] "no-dupe-else-if"
- [ ] "no-dupe-keys"
- [ ] "no-duplicate-case"
- [ ] "no-duplicate-imports"
- [X] "no-duplicate-imports"
- [X] "no-else-return"
- [X] "no-empty"
- [ ] "no-empty-character-class"

View File

@ -218,6 +218,12 @@
"no-debugger": [
"warn"
],
"no-duplicate-imports": [
"error",
{
"includeExports": true
}
],
"no-else-return": [
"error",
{