Skip to content

Turn off no-duplicate-imports rule#215

Merged
bouk merged 1 commit intomasterfrom
duplicate-imports
Sep 7, 2016
Merged

Turn off no-duplicate-imports rule#215
bouk merged 1 commit intomasterfrom
duplicate-imports

Conversation

@bouk
Copy link
Contributor

@bouk bouk commented Sep 7, 2016

import/no-duplicates is better, as it handles Flow and different paths pointing to the same file.

@lemonmade

More info about import/no-duplicates

`import/no-duplicates` is better, as it handles Flow and different
paths pointing to the same file.
@bouk bouk force-pushed the duplicate-imports branch from 4ce70dd to 1e5cd98 Compare September 7, 2016 19:49
// Disallow duplicate module imports
'no-duplicate-imports': 'error',
// Disallow duplicate module imports (disabled, as import/no-duplicates does the same job but better)
'no-duplicate-imports': 'off',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ I just ran into this and figured I was going to have to submit a PR for that rule. Awesome that we already had a better rule in place!

@lemonmade
Copy link
Member

🚀

@bouk bouk merged commit fb1e679 into master Sep 7, 2016
@bouk bouk deleted the duplicate-imports branch September 7, 2016 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants