|
| 1 | +# Core Configuration |
| 2 | +* text=auto |
| 3 | + |
| 4 | +# Development Files |
| 5 | +## Frontend Stack |
| 6 | +*.{js,jsx,ts,tsx,html,css,scss,sass,less,json,md,yml,yaml,sh,xml,txt,svg,vue} text eol=lf |
| 7 | + |
| 8 | +## Build Configuration |
| 9 | +*.config.js text eol=lf |
| 10 | +tailwind.config.js text eol=lf |
| 11 | +postcss.config.js text eol=lf |
| 12 | + |
| 13 | +## Backend Stack |
| 14 | +# Python |
| 15 | +*.{py,pyw,ipynb,pyi} text eol=lf |
| 16 | +requirements.txt text eol=lf |
| 17 | +Pipfile text eol=lf |
| 18 | +*.{pkl,h5} binary |
| 19 | + |
| 20 | +# Rust |
| 21 | +*.rs text eol=lf |
| 22 | +*.toml text eol=lf |
| 23 | +Cargo.toml text eol=lf |
| 24 | + |
| 25 | +# PHP/WordPress |
| 26 | +*.{php,php4,php5,phtml,inc,blade.php,sql} text eol=lf |
| 27 | +wp-config.php text eol=lf |
| 28 | +.htaccess text eol=lf |
| 29 | + |
| 30 | +# Binary Assets |
| 31 | +## Media |
| 32 | +*.{png,jpg,jpeg,gif,ico} binary |
| 33 | +*.{mp3,mp4,avi,mov,mkv} binary |
| 34 | + |
| 35 | +## Fonts |
| 36 | +*.{woff,woff2,ttf,eot} binary |
| 37 | + |
| 38 | +## Archives |
| 39 | +*.{zip,gz,tar,tgz,bz2,xz} binary |
| 40 | + |
| 41 | +## Database |
| 42 | +*.{sqlite,db} binary |
| 43 | + |
| 44 | +# Version Control |
| 45 | +## Merge Strategies |
| 46 | +*.{json,lock,toml,yaml,yml} merge=union |
| 47 | + |
| 48 | +## Language-specific Diffs |
| 49 | +*.{ts,tsx} diff=typescript |
| 50 | +*.{js,jsx} diff=javascript |
| 51 | +*.php diff=php |
| 52 | +*.py diff=python |
| 53 | +*.rs diff=rust |
| 54 | + |
| 55 | +## Diff Exclusions |
| 56 | +*.{min.js,min.css,bundle.js,bundle.css} -diff |
| 57 | +dist/** -diff |
| 58 | +build/** -diff |
| 59 | + |
| 60 | +# Documentation |
| 61 | +*.md linguist-language=Markdown merge=union |
| 62 | +*.rst linguist-language=reStructuredText |
| 63 | + |
| 64 | +# Security |
| 65 | +*.{crx,pem,pub} binary |
| 66 | + |
| 67 | +# Package Management |
| 68 | +*{package-lock.json,yarn.lock,Cargo.lock,composer.lock,poetry.lock} binary |
0 commit comments