Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upno-duplicate-imports rule triggered by `import type` statements #599
Comments
This comment has been minimized.
This comment has been minimized.
|
Here is a corresponding issue for babel-eslint: I also have proposed using import/no-duplicates setting instead of stock |
This was referenced Aug 19, 2016
Closed
Gozala
added a commit
to Gozala/browser.html
that referenced
this issue
Aug 19, 2016
feross
added
the
bug
label
Aug 19, 2016
This comment has been minimized.
This comment has been minimized.
|
You're using two non-standard things: babel and flow type annotations. This is life on the bleeding edge, nothing quite works... That said, since I'm considering adding |
feross
modified the milestone:
standard v9
Aug 19, 2016
feross
modified the milestones:
standard v9,
standard v10
Feb 9, 2017
feross
modified the milestones:
standard v9,
standard v10
Feb 9, 2017
sebn
added a commit
to cozy-labs/cozy-desktop
that referenced
this issue
Feb 12, 2017
feross
modified the milestones:
standard v9,
standard v10
Feb 28, 2017
This comment has been minimized.
This comment has been minimized.
|
No ecosystem impact. This will be part of the standard v10 beta. |
feross
closed this
Mar 2, 2017
feross
added a commit
to standard/eslint-config-standard
that referenced
this issue
Mar 2, 2017
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Gozala commentedAug 19, 2016
Forking #592 to it's separate issue:
Standard uses 'no-duplicate-imports' rule which is triggered if there are two or more import statements from the same module.
It seems that this rule is also triggered for
import typeFlow statements, e.g. this results in an error:There is no other way to combine these two statements into one import statement as flow want's to distinguish type and value imports.
I would really like this issue to be resolved to be able to use standard style with flow typed project.