question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider using EditorConfigs `insert_final_newline` when generating new version.json with nbgv

See original GitHub issue

It would be cool, if nbgv set-version would respect insert_final_newline = true. 😉

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
AArnottcommented, Apr 25, 2020

@yannduran for me, it’s because of the scc diffs that show up later. I like trailing newlines so that adding another line doesn’t have to change the last line as well as add the new one. I just want to add the new one.

That’s also why I add trailing commas to lists where each item is on its own line.

1reaction
kapsiRcommented, Apr 25, 2020

That’s a good explanation why I want it too: https://stackoverflow.com/a/729795

In short: Because of the POSIX standard

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does the editor insert a final newline for JSON files ...
I have the following .editorconfig : ... insertFinalNewline": false,. When selecting all content of package.json and choosing Format ...
Read more >
Using the nbgv .NET Core CLI tool
The prepare-release command supports this working model by taking care of creating the release branch and updating version.json on both branches. To prepare...
Read more >
EditorConfig settings - Visual Studio (Windows)
Settings in EditorConfig files let you maintain consistent coding styles and settings in a codebase, such as indent style, tab width, ...
Read more >
EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found