Skip to content
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

insert_final_newline should ensure a single newline character at the end of the file #341

Open
matrss opened this issue Apr 22, 2024 · 0 comments
Labels
bug a bug which occured help wanted

Comments

@matrss
Copy link

matrss commented Apr 22, 2024

Right now, editorconfig-checker does not complain about multiple newlines at EOF when the insert_final_newline option is set.

According to this comment on a feature request to support specifying the number of newlines that should be at EOF the option is intended to mean that a file should end in a singular newline, so editorconfig-checker should complain about multiple newlines at the end of a file.

@theoludwig theoludwig added bug a bug which occured help wanted labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug which occured help wanted
Projects
None yet
Development

No branches or pull requests

2 participants