mirror of https://github.com/garrytan/gstack.git
31 lines
969 B
Plaintext
31 lines
969 B
Plaintext
# Force LF on text files we parse with `\n`-anchored regexes (frontmatter,
|
|
# YAML, markdown structure tests). Without this, Windows checkouts with
|
|
# core.autocrlf=true convert these to CRLF and break tests that match
|
|
# /^---\n...\n---/ against SKILL.md.tmpl frontmatter, etc.
|
|
*.md text eol=lf
|
|
*.tmpl text eol=lf
|
|
*.yml text eol=lf
|
|
*.yaml text eol=lf
|
|
*.json text eol=lf
|
|
*.toml text eol=lf
|
|
|
|
# Bash scripts must always use LF — CRLF in bash scripts produces bizarre
|
|
# "Bad interpreter" / "command not found" errors on Linux runners.
|
|
*.sh text eol=lf
|
|
*.bash text eol=lf
|
|
|
|
# TypeScript/JavaScript: LF for portability across the bun toolchain.
|
|
*.ts text eol=lf
|
|
*.tsx text eol=lf
|
|
*.js text eol=lf
|
|
*.mjs text eol=lf
|
|
*.cjs text eol=lf
|
|
|
|
# Binary files — never touch.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.pdf binary
|