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

End of file newline #2675

Closed
codler opened this issue Feb 9, 2017 · 1 comment
Closed

End of file newline #2675

codler opened this issue Feb 9, 2017 · 1 comment
Labels

Comments

@codler
Copy link

codler commented Feb 9, 2017

What is the current behavior?
Newline at end of file are added.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Have a package.json with no newline at end of file.
  2. Run for example yarn add webpack --dev

What is the expected behavior?
Newlines at end of file shouldn't be modified.

Please mention your node.js, yarn and operating system version.
node: 6.9.3
yarn 0.19.1
macOS Sierra 10.12.2

Why this is a bug is because it conflicts with for example when I do an auto format in Visual Studio Code.

@gsklee
Copy link
Contributor

gsklee commented May 22, 2017

@bestander close

This is perfectly in line with npm's behavior; see facebook/create-react-app#1510, shipshapecode/ember-cli-release#21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants