From 58da4608ac0c30da658e5a34c4962bad43f70d23 Mon Sep 17 00:00:00 2001 From: arifal Date: Tue, 28 Apr 2026 20:22:19 +0700 Subject: [PATCH] fix normalize line endings to LF --- .claude/settings.local.json | 7 ++++ .gitattributes | 64 +++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .claude/settings.local.json create mode 100644 .gitattributes diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..e9e61dc --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": [ + "WebFetch(domain:unsplash.com)" + ] + } +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c08ad7c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,64 @@ +# Auto-detect text files and normalize line endings to LF on commit +* text=auto eol=lf + +# Source code +*.ts text eol=lf +*.tsx text eol=lf +*.js text eol=lf +*.jsx text eol=lf +*.mjs text eol=lf +*.cjs text eol=lf +*.json text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.html text eol=lf +*.md text eol=lf +*.mdx text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.toml text eol=lf +*.xml text eol=lf +*.svg text eol=lf + +# Prisma +*.prisma text eol=lf + +# Config & env +*.env text eol=lf +.env* text eol=lf +.editorconfig text eol=lf +.gitignore text eol=lf +.gitattributes text eol=lf +.prettierrc text eol=lf +.eslintrc* text eol=lf + +# Shell scripts (always LF) +*.sh text eol=lf +*.bash text eol=lf + +# Windows scripts (always CRLF) +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Binary files (no line ending conversion) +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.webp binary +*.avif binary +*.pdf binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary +*.otf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.mp4 binary +*.mp3 binary +*.wav binary