-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove import/ignore + use UnambiguousJSGrammar #270
Comments
related: #268 |
Original issue text:
|
@jfmengels: let me know what you think of the new issue? if I've missed some key case? |
Assume any module with at least one
import
orexport
(includingexport {}
) is a module.Ignore any module failing this.
Keep
import/ignore
for things like ignoring CoffeeScript, but it will be empty by default. Files matching ignore patterns will be completely ignored, as if they were core modules or CJS.Technically, this is how ignored files work today; if exports are detected, they are parsed anyway. This reversal makes more sense.
Supersedes: #268
Idea thanks to: #384
The text was updated successfully, but these errors were encountered: