-
Notifications
You must be signed in to change notification settings - Fork 49
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
package.json
conflicting with eol-last
eslint rule
#170
Comments
This seems to be a long-known issue with multiple PRs already :(. |
Hey! Where do you see PRs about this issue? |
Hi @Barbapapazes, I did remember finding multiple PRs for it, |
3 months ago, Pooya merged a PR related to this in pkg-types. Maybe an update could solve this. Will see |
Indeed, #201 resolve the issue |
As @Barbapapazes pointed out, unjs/pkg-types#175 should have fixed this issue. Please upgrade your lock file to get the fix. In case you have similar issues, please feel free to create a new issue with reproduction 🙏🏼 |
Oh yeah right I haven't encounter this issue in a while but I just answered @Barbapapazes's question without thinking hahaha 😂😂 |
Environment
Node 18
Full dependencies tree:
Reproduction
Just simply run
changelogen
with any flag that bumps the version, example:npx changelogen@latest --bump
Describe the bug
package.json
after getting bumped bychangelogen
doesn't have a final new line (removed if previously existing).In projects with
eslint
, or even some IDE built-in feature will flags the file witheol-last
/Final newline missing
.Not really a bug, but since
eol-last
is a very common rule could be seen as a tedious issue, especially with flags that automatically commit like--release
.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: