Skip to content

chore: normalize script and web asset line endings (#254) - #343

Merged
karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
emrekayat:fix/assigned-254
Sep 8, 2026
Merged

chore: normalize script and web asset line endings (#254)#343
karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
emrekayat:fix/assigned-254

Conversation

@emrekayat

Copy link
Copy Markdown
Contributor

Closes #254.

Adds explicit LF rules for shell, YAML, CSS and HTML. Existing rules are preserved; no source files are renormalized.

Validation: git check-attr confirms text normalization and LF for all added formats.

Copilot AI lite review requested due to automatic review settings September 8, 2026 17:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The PR narrowly updates .gitattributes to meet the stated acceptance criteria without modifying any source files.

Pull request overview

Updates .gitattributes to explicitly enforce LF line endings for additional first-party text formats (shell scripts, YAML, CSS, HTML) to prevent CRLF-related execution issues and noisy diffs, aligning with Issue #254’s acceptance criteria.

Changes:

  • Add text eol=lf rules for *.sh, *.yml, *.yaml, *.css, and *.html.
  • Preserve existing attribute rules and limit changes to the attributes file (no source renormalization).
File summaries
File Description
.gitattributes Adds explicit LF enforcement for shell/YAML/CSS/HTML while leaving existing rules intact.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@karagozemin
karagozemin merged commit f017c10 into Sub-Rosa-Issue:main Sep 8, 2026
2 of 3 checks passed
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.

chore(gitattributes): enforce LF endings for scripts and web assets

3 participants