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

Add option to enasure newline at the end of any generated file #1311

Open
pront opened this issue Jul 5, 2023 · 0 comments
Open

Add option to enasure newline at the end of any generated file #1311

pront opened this issue Jul 5, 2023 · 0 comments

Comments

@pront
Copy link

pront commented Jul 5, 2023

💡 Feature description

Either add an option (e.g. a new cli argument) or change the default behavior of the tool to ensure a newline is added at the end of each generated file. This would be very helpful since many linting tools might report a missing newline at EOF as an error.

A common case where this is needed is described here: #1161.

💻 Basic example

From:

*

To:

*
<-- newline added here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant