Skip to content

Add -n/--insert-final-newline option#84

Open
yassh wants to merge 2 commits intozaach:masterfrom
yassh:insert-final-newline
Open

Add -n/--insert-final-newline option#84
yassh wants to merge 2 commits intozaach:masterfrom
yassh:insert-final-newline

Conversation

@yassh
Copy link
Copy Markdown

@yassh yassh commented Aug 27, 2016

for #81

@gajus
Copy link
Copy Markdown

gajus commented Sep 14, 2016

That would be nice.

Now I am doing:

jsonlint --sort-keys --in-place --indent '  ' ./stylelintrc.json && echo "" >> ./stylelintrc.json

@michaelmior
Copy link
Copy Markdown

Would love to see this merged. I have some files I want to start automatically formatting but they have newlines at the end and I don't want to change that and while the workaround from @gajus is alright, an option would be much nicer.

@PeterDaveHello
Copy link
Copy Markdown

Hey @zaach, this patch could make jsonlint more powerful and helpful! Do you have a chance to take a review on it? Many thanks!

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

Successfully merging this pull request may close these issues.

4 participants