Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Enforce LF line endings for all text files to prevent CRLF issues on Windows
* text=auto eol=lf

# Explicitly enforce LF for YAML files (prevents yamllint failures on Windows)
*.yaml text eol=lf
*.yml text eol=lf

# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
Comment thread
jbampton marked this conversation as resolved.
*.webp binary
*.avif binary
*.pdf binary
*.woff binary
*.woff2 binary
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ repos:
- id: mixed-line-ending
name: run mixed-line-ending
description: replaces or checks mixed line ending
args: [--fix=lf]
Comment thread
jbampton marked this conversation as resolved.

- repo: https://github.com/biomejs/pre-commit
rev: "v2.4.8"
Expand Down
Loading