-
-
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
v0.23.0 has a TypeError in newline-after-import #2056
Comments
This comment has been minimized.
This comment has been minimized.
Can chime in that something is broken in 2.23.0
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Same issue:
|
Please do not post “same issue” unless you can provide new information. I will fix the type error as soon as i can. @ddolcimascolo a new eslint warning that should have always appeared is typically not considered a breaking change, otherwise every bugfix would be one. Unfortunately your issue has been hijacked by the type error, so I’ll get to that after publishing a v2.23.1 that fixes the crash. |
@SoloJiang @mlbiche please file a new issue for that, so it doesn’t get lost in the noise here. |
@martinstark @slaweet can you provide the content of |
I believe the crash should be solved in 8d7ec17 / #2063. I'll close this for now - @ddolcimascolo, would you mind filing a new issue, and include the code that's warning now? |
@ljharb I could, but it's really any |
As long as that's only for relative files (package names ending in ".js" aren't an extension) then that seems like indeed just a bugfix in the rule. |
Yes, only relative files. A few |
@ljharb sorry for the delay! I take it I don't need to provide the code example anymore given this has now been closed |
@martinstark as long as it’s fixed for you, then no :-) |
Hi guys,
Our build fails when upgrading to v2.23.0 with lots of
error Unexpected use of file extension "js" for "./AboutInfo.js" import/extensions
The rule's actually right, this is something we need to fix. But if it's a change in some defaults, maybe you should have released a major version. WDYT?
Typically minors and patches do not introduce breaking changes.
Cheers!
David
The text was updated successfully, but these errors were encountered: