Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

The text formatting instruction "All text files must end with exactly one newline character and no trailing blank lines" was ambiguous and could be interpreted as requiring a blank line at the end of files.

Changes

  • Updated .github/copilot-instructions.md to explicitly state: "All text files must have their final line be non-empty and terminated with a single newline character (linefeed), leaving no trailing blank lines"

This clarifies that files should end with content-bearing lines terminated by \n, not blank lines.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Updated the text formatting standard to explicitly state that the final
line must be non-empty and terminated with a single linefeed, leaving no
trailing blank lines. This clarification addresses potential ambiguity
in the previous wording.

Co-authored-by: greenc-FNAL <[email protected]>
Copilot AI changed the title [WIP] Clarify instructions based on feedback from review Clarify text formatting standard to eliminate ambiguity Jan 6, 2026
Copilot AI requested a review from greenc-FNAL January 6, 2026 22:04
@greenc-FNAL greenc-FNAL marked this pull request as ready for review January 6, 2026 22:16
Copilot AI review requested due to automatic review settings January 6, 2026 22:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR clarifies the text formatting standard in the Copilot instructions to remove ambiguity about file endings. The original wording could be misinterpreted as requiring a blank line at the end of files, when the intent was to require that the last content line be terminated with a newline character.

  • Updated the text formatting standard to explicitly state that the final line must be non-empty and terminated with a newline character

@greenc-FNAL greenc-FNAL merged commit ddbb59b into feature/vscode-dev-container Jan 6, 2026
6 checks passed
@knoepfel knoepfel deleted the copilot/sub-pr-87 branch January 7, 2026 22:32
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.

2 participants