|
| 1 | +# Common settings that generally should always be used with your language specific settings |
| 2 | + |
| 3 | +# Auto detect text files and perform LF normalization |
| 4 | +* text=auto |
| 5 | + |
| 6 | +# |
| 7 | +# The above will handle all files NOT found below |
| 8 | +# |
| 9 | + |
| 10 | +# Documents |
| 11 | +*.bibtex text diff=bibtex |
| 12 | +*.doc diff=astextplain |
| 13 | +*.DOC diff=astextplain |
| 14 | +*.docx diff=astextplain |
| 15 | +*.DOCX diff=astextplain |
| 16 | +*.dot diff=astextplain |
| 17 | +*.DOT diff=astextplain |
| 18 | +*.pdf diff=astextplain |
| 19 | +*.PDF diff=astextplain |
| 20 | +*.rtf diff=astextplain |
| 21 | +*.RTF diff=astextplain |
| 22 | +*.md text diff=markdown |
| 23 | +*.mdx text diff=markdown |
| 24 | +*.tex text diff=tex |
| 25 | +*.adoc text |
| 26 | +*.textile text |
| 27 | +*.mustache text |
| 28 | +*.csv text eol=crlf |
| 29 | +*.tab text |
| 30 | +*.tsv text |
| 31 | +*.txt text |
| 32 | +*.sql text |
| 33 | +*.epub diff=astextplain |
| 34 | + |
| 35 | +# Graphics |
| 36 | +*.png binary |
| 37 | +*.jpg binary |
| 38 | +*.jpeg binary |
| 39 | +*.gif binary |
| 40 | +*.tif binary |
| 41 | +*.tiff binary |
| 42 | +*.ico binary |
| 43 | +# SVG treated as text by default. |
| 44 | +*.svg text |
| 45 | +# If you want to treat it as binary, |
| 46 | +# use the following line instead. |
| 47 | +# *.svg binary |
| 48 | +*.eps binary |
| 49 | + |
| 50 | +# Scripts |
| 51 | +*.bash text eol=lf |
| 52 | +*.fish text eol=lf |
| 53 | +*.ksh text eol=lf |
| 54 | +*.sh text eol=lf |
| 55 | +*.zsh text eol=lf |
| 56 | +# These are explicitly windows files and should use crlf |
| 57 | +*.bat text eol=crlf |
| 58 | +*.cmd text eol=crlf |
| 59 | +*.ps1 text eol=crlf |
| 60 | + |
| 61 | +# Serialisation |
| 62 | +*.json text |
| 63 | +*.toml text |
| 64 | +*.xml text |
| 65 | +*.yaml text |
| 66 | +*.yml text |
| 67 | + |
| 68 | +# Archives |
| 69 | +*.7z binary |
| 70 | +*.bz binary |
| 71 | +*.bz2 binary |
| 72 | +*.bzip2 binary |
| 73 | +*.gz binary |
| 74 | +*.lz binary |
| 75 | +*.lzma binary |
| 76 | +*.rar binary |
| 77 | +*.tar binary |
| 78 | +*.taz binary |
| 79 | +*.tbz binary |
| 80 | +*.tbz2 binary |
| 81 | +*.tgz binary |
| 82 | +*.tlz binary |
| 83 | +*.txz binary |
| 84 | +*.xz binary |
| 85 | +*.Z binary |
| 86 | +*.zip binary |
| 87 | +*.zst binary |
| 88 | + |
| 89 | +# Text files where line endings should be preserved |
| 90 | +*.patch -text |
| 91 | + |
| 92 | +# |
| 93 | +# Exclude files from exporting |
| 94 | +# |
| 95 | + |
| 96 | +.gitattributes export-ignore |
| 97 | +.gitignore export-ignore |
| 98 | +.gitkeep export-ignore |
| 99 | + |
| 100 | +## GITATTRIBUTES FOR WEB PROJECTS |
| 101 | +# |
| 102 | +# These settings are for any web project. |
| 103 | +# |
| 104 | +# Details per file setting: |
| 105 | +# text These files should be normalized (i.e. convert CRLF to LF). |
| 106 | +# binary These files are binary and should be left untouched. |
| 107 | +# |
| 108 | +# Note that binary is a macro for -text -diff. |
| 109 | +###################################################################### |
| 110 | + |
| 111 | +# Auto detect |
| 112 | +## Handle line endings automatically for files detected as |
| 113 | +## text and leave all files detected as binary untouched. |
| 114 | +## This will handle all files NOT defined below. |
| 115 | +* text=auto |
| 116 | + |
| 117 | +# Source code |
| 118 | +*.bash text eol=lf |
| 119 | +*.bat text eol=crlf |
| 120 | +*.cmd text eol=crlf |
| 121 | +*.coffee text |
| 122 | +*.css text diff=css |
| 123 | +*.htm text diff=html |
| 124 | +*.html text diff=html |
| 125 | +*.inc text |
| 126 | +*.ini text |
| 127 | +*.js text |
| 128 | +*.mjs text |
| 129 | +*.cjs text |
| 130 | +*.json text |
| 131 | +*.jsx text |
| 132 | +*.less text |
| 133 | +*.ls text |
| 134 | +*.map text -diff |
| 135 | +*.od text |
| 136 | +*.onlydata text |
| 137 | +*.php text diff=php |
| 138 | +*.pl text |
| 139 | +*.ps1 text eol=crlf |
| 140 | +*.py text diff=python |
| 141 | +*.rb text diff=ruby |
| 142 | +*.sass text |
| 143 | +*.scm text |
| 144 | +*.scss text diff=css |
| 145 | +*.sh text eol=lf |
| 146 | +.husky/* text eol=lf |
| 147 | +*.sql text |
| 148 | +*.styl text |
| 149 | +*.tag text |
| 150 | +*.ts text |
| 151 | +*.tsx text |
| 152 | +*.xml text |
| 153 | +*.xhtml text diff=html |
| 154 | + |
| 155 | +# Docker |
| 156 | +Dockerfile text |
| 157 | + |
| 158 | +# Documentation |
| 159 | +*.ipynb text eol=lf |
| 160 | +*.markdown text diff=markdown |
| 161 | +*.md text diff=markdown |
| 162 | +*.mdwn text diff=markdown |
| 163 | +*.mdown text diff=markdown |
| 164 | +*.mkd text diff=markdown |
| 165 | +*.mkdn text diff=markdown |
| 166 | +*.mdtxt text |
| 167 | +*.mdtext text |
| 168 | +*.txt text |
| 169 | +AUTHORS text |
| 170 | +CHANGELOG text |
| 171 | +CHANGES text |
| 172 | +CONTRIBUTING text |
| 173 | +COPYING text |
| 174 | +copyright text |
| 175 | +*COPYRIGHT* text |
| 176 | +INSTALL text |
| 177 | +license text |
| 178 | +LICENSE text |
| 179 | +NEWS text |
| 180 | +readme text |
| 181 | +*README* text |
| 182 | +TODO text |
| 183 | + |
| 184 | +# Templates |
| 185 | +*.dot text |
| 186 | +*.ejs text |
| 187 | +*.erb text |
| 188 | +*.haml text |
| 189 | +*.handlebars text |
| 190 | +*.hbs text |
| 191 | +*.hbt text |
| 192 | +*.jade text |
| 193 | +*.latte text |
| 194 | +*.mustache text |
| 195 | +*.njk text |
| 196 | +*.phtml text |
| 197 | +*.svelte text |
| 198 | +*.tmpl text |
| 199 | +*.tpl text |
| 200 | +*.twig text |
| 201 | +*.vue text |
| 202 | + |
| 203 | +# Configs |
| 204 | +*.cnf text |
| 205 | +*.conf text |
| 206 | +*.config text |
| 207 | +.editorconfig text |
| 208 | +.env text |
| 209 | +.gitattributes text |
| 210 | +.gitconfig text |
| 211 | +.htaccess text |
| 212 | +*.lock text -diff |
| 213 | +package.json text eol=lf |
| 214 | +package-lock.json text eol=lf -diff |
| 215 | +pnpm-lock.yaml text eol=lf -diff |
| 216 | +.prettierrc text |
| 217 | +yarn.lock text -diff |
| 218 | +*.toml text |
| 219 | +*.yaml text |
| 220 | +*.yml text |
| 221 | +browserslist text |
| 222 | +Makefile text |
| 223 | +makefile text |
| 224 | +# Fixes syntax highlighting on GitHub to allow comments |
| 225 | +tsconfig.json linguist-language=JSON-with-Comments |
| 226 | + |
| 227 | +# Heroku |
| 228 | +Procfile text |
| 229 | + |
| 230 | +# Graphics |
| 231 | +*.ai binary |
| 232 | +*.bmp binary |
| 233 | +*.eps binary |
| 234 | +*.gif binary |
| 235 | +*.gifv binary |
| 236 | +*.ico binary |
| 237 | +*.jng binary |
| 238 | +*.jp2 binary |
| 239 | +*.jpg binary |
| 240 | +*.jpeg binary |
| 241 | +*.jpx binary |
| 242 | +*.jxr binary |
| 243 | +*.pdf binary |
| 244 | +*.png binary |
| 245 | +*.psb binary |
| 246 | +*.psd binary |
| 247 | +# SVG treated as an asset (binary) by default. |
| 248 | +*.svg text |
| 249 | +# If you want to treat it as binary, |
| 250 | +# use the following line instead. |
| 251 | +# *.svg binary |
| 252 | +*.svgz binary |
| 253 | +*.tif binary |
| 254 | +*.tiff binary |
| 255 | +*.wbmp binary |
| 256 | +*.webp binary |
| 257 | + |
| 258 | +# Audio |
| 259 | +*.kar binary |
| 260 | +*.m4a binary |
| 261 | +*.mid binary |
| 262 | +*.midi binary |
| 263 | +*.mp3 binary |
| 264 | +*.ogg binary |
| 265 | +*.ra binary |
| 266 | + |
| 267 | +# Video |
| 268 | +*.3gpp binary |
| 269 | +*.3gp binary |
| 270 | +*.as binary |
| 271 | +*.asf binary |
| 272 | +*.asx binary |
| 273 | +*.avi binary |
| 274 | +*.fla binary |
| 275 | +*.flv binary |
| 276 | +*.m4v binary |
| 277 | +*.mng binary |
| 278 | +*.mov binary |
| 279 | +*.mp4 binary |
| 280 | +*.mpeg binary |
| 281 | +*.mpg binary |
| 282 | +*.ogv binary |
| 283 | +*.swc binary |
| 284 | +*.swf binary |
| 285 | +*.webm binary |
| 286 | + |
| 287 | +# Archives |
| 288 | +*.7z binary |
| 289 | +*.gz binary |
| 290 | +*.jar binary |
| 291 | +*.rar binary |
| 292 | +*.tar binary |
| 293 | +*.zip binary |
| 294 | + |
| 295 | +# Fonts |
| 296 | +*.ttf binary |
| 297 | +*.eot binary |
| 298 | +*.otf binary |
| 299 | +*.woff binary |
| 300 | +*.woff2 binary |
| 301 | + |
| 302 | +# Executables |
| 303 | +*.exe binary |
| 304 | +*.pyc binary |
| 305 | +# Prevents massive diffs caused by vendored, minified files |
| 306 | +**/.yarn/releases/** binary |
| 307 | +**/.yarn/plugins/** binary |
| 308 | + |
| 309 | +# RC files (like .babelrc or .eslintrc) |
| 310 | +*.*rc text |
| 311 | + |
| 312 | +# Ignore files (like .npmignore or .gitignore) |
| 313 | +*.*ignore text |
| 314 | + |
| 315 | +# Prevents massive diffs from built files |
| 316 | +dist/* binary |
| 317 | + |
0 commit comments