Skip to content

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

Merged
brandyscarney merged 1 commit into
mainfrom
chore/gitattributes
Nov 12, 2026
Merged

brandyscarney merged 1 commit 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 thetaPC 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-react Ready Ready Preview Nov 12, 2026 1:54pm UTC

Request Review

@thetaPC thetaPC 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.

LGTM

@brandyscarney
brandyscarney merged commit be4d057 into main Nov 12, 2026
6 checks passed
@brandyscarney
brandyscarney deleted the chore/gitattributes branch November 12, 2026 16:35

This branch was successfully deployed

1 active deployment
Preview — e03ad0aa 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