* 1110 Fix cross-platform line ending issues for shell scripts - Add .gitattributes to enforce LF line endings for .sh files - Prevents Windows users from experiencing Docker script execution failures - Ensures db_setup.sh executes properly across all platforms - Fixes database schema creation issues on Windows systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
44 lines
766 B
Plaintext
44 lines
766 B
Plaintext
# Ensure shell scripts always use LF line endings on all platforms
|
|
*.sh text eol=lf
|
|
|
|
# Ensure other script files use LF line endings
|
|
*.bash text eol=lf
|
|
*.py text eol=lf
|
|
*.js text eol=lf
|
|
*.jsx text eol=lf
|
|
*.ts text eol=lf
|
|
*.tsx text eol=lf
|
|
*.json text eol=lf
|
|
*.yaml text eol=lf
|
|
*.yml text eol=lf
|
|
*.md text eol=lf
|
|
*.txt text eol=lf
|
|
*.sql text eol=lf
|
|
|
|
# Docker files should use LF
|
|
Dockerfile text eol=lf
|
|
*.Dockerfile text eol=lf
|
|
|
|
# Configuration files
|
|
*.conf text eol=lf
|
|
*.ini text eol=lf
|
|
*.cfg text eol=lf
|
|
*.env text eol=lf
|
|
*.toml text eol=lf
|
|
|
|
# Binary files should not be converted
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.svg binary
|
|
*.pdf binary
|
|
*.zip binary
|
|
*.tar binary
|
|
*.gz binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
*.ttf binary
|
|
*.eot binary
|