KEMBAR78
Ensure data-serialization files end with one newline by xtqqczze · Pull Request #26039 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@xtqqczze
Copy link
Contributor

Ensure all data-serialization files end with a single newline character.

Affected file types

  • .json
  • .yaml
  • .yml

Justification

Ensuring that each file ends with exactly one newline follows POSIX conventions (where a line is defined as ending with a newline) and improves consistency across editors and tools. It also prevents unnecessary diffs caused by extra blank lines, keeping version history cleaner and easier to review.

Notes

A Python script was used to apply these changes.

Ensure all data-serialization files end with a single newline character.
@xtqqczze xtqqczze requested review from a team and jshigetomi as code owners September 11, 2025 14:53
@daxian-dbw daxian-dbw added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Sep 11, 2025
@daxian-dbw
Copy link
Member

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@daxian-dbw daxian-dbw merged commit 37a0e33 into PowerShell:master Sep 11, 2025
35 of 36 checks passed
@xtqqczze xtqqczze deleted the final_newline-json branch September 11, 2025 23:35
@CosmicJesterX
Copy link

Washing neural networks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants