Skip to content

chore: normalize line endings to lf with .gitattributes - #123

Merged
brandyscarney merged 2 commits into
mainfrom
chore/gitattributes
Nov 12, 2026
Merged

brandyscarney merged 2 commits into
mainfrom
chore/gitattributes

Conversation

@brandyscarney

Copy link
Copy Markdown
Member

What This Does

Adds a .gitattributes so files use LF line endings on every OS.

New Behavior

  • Windows checkouts get LF line endings, so npm run lint (Prettier) passes locally on Windows. Before, Git's default CRLF conversion made Prettier report every file.

Changes

  • .gitattributes with * text=auto eol=lf, the same as ionic-framework, plus *.bat text eol=crlf so Gradle's gradlew.bat keeps the CRLF line endings Windows needs.
  • android/gradlew.bat is renormalized: Git now stores it with LF and checks it out with CRLF.

@brandyscarney
brandyscarney requested a review from a team as a code owner November 12, 2026 13:54
@brandyscarney
brandyscarney requested review from ShaneK and removed request for a team November 12, 2026 13:54
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tutorial-photo-gallery-angular Ready Ready Preview Nov 12, 2026 4:48pm UTC

Request Review

@brandyscarney
brandyscarney enabled auto-merge (squash) November 12, 2026 16:48
@brandyscarney
brandyscarney merged commit c0fb25a into main Nov 12, 2026
6 checks passed
@brandyscarney
brandyscarney deleted the chore/gitattributes branch November 12, 2026 16:50

This branch was successfully deployed

1 active deployment
Preview — 47757787 Deployed Nov 12, 2026 by vercel[bot]
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