Skip to content

chore: add .gitattributes to enforce LF line endings

Jérôme Revillard requested to merge worktree-add-gitattributes into main

Summary

  • Add comprehensive .gitattributes to normalize line endings to LF across all platforms
  • Covers all project file types: JS/TS/Vue, Python, Dart/Flutter, Kotlin, Shell, web assets, config formats, Docker/CI, IDE configs
  • Explicitly marks binary files (images, fonts, archives, certs, model files) to prevent Git diffing

Closes #612 (closed)

What's next (after merge)

Run git add --renormalize . and commit to normalize any existing CRLF files already in the repo.

Merge request reports

Loading