Skip to content

End of file newline #2675

@codler

Description

@codler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions