You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
4.8 KiB

4 months ago
  1. # Set the default behavior, in case people don't have core.autolf set.
  2. * text eol=lf
  3. ## GITATTRIBUTES FOR WEB PROJECTS
  4. #
  5. # These settings are for any web project.
  6. #
  7. # Details per file setting:
  8. # text These files should be normalized (i.e. convert CRLF to LF).
  9. # binary These files are binary and should be left untouched.
  10. #
  11. # Note that binary is a macro for -text -diff.
  12. ######################################################################
  13. # Auto detect
  14. ## Handle line endings automatically for files detected as
  15. ## text and leave all files detected as binary untouched.
  16. ## This will handle all files NOT defined below.
  17. * text=auto
  18. # Source code
  19. *.bash text eol=lf
  20. *.bat text eol=lf
  21. *.cmd text eol=lf
  22. *.coffee text
  23. *.css text
  24. *.htm text diff=html
  25. *.html text diff=html
  26. *.inc text
  27. *.ini text
  28. *.js text
  29. *.json text
  30. *.jsx text
  31. *.less text
  32. *.ls text
  33. *.map text -diff
  34. *.od text
  35. *.onlydata text
  36. *.php text diff=php
  37. *.pl text
  38. *.ps1 text eol=lf
  39. *.py text diff=python
  40. *.rb text diff=ruby
  41. *.sass text
  42. *.scm text
  43. *.scss text diff=css
  44. *.sh text eol=lf
  45. *.sql text
  46. *.styl text
  47. *.tag text
  48. *.ts text
  49. *.tsx text
  50. *.xml text
  51. *.xhtml text diff=html
  52. # Docker
  53. *.dockerignore text
  54. Dockerfile text
  55. # Documentation
  56. *.ipynb text
  57. *.markdown text
  58. *.md text
  59. *.mdwn text
  60. *.mdown text
  61. *.mkd text
  62. *.mkdn text
  63. *.mdtxt text
  64. *.mdtext text
  65. *.txt text
  66. AUTHORS text
  67. CHANGELOG text
  68. CHANGES text
  69. CONTRIBUTING text
  70. COPYING text
  71. copyright text
  72. *COPYRIGHT* text
  73. INSTALL text
  74. license text
  75. LICENSE text
  76. NEWS text
  77. readme text
  78. *README* text
  79. TODO text
  80. # Templates
  81. *.dot text
  82. *.ejs text
  83. *.haml text
  84. *.handlebars text
  85. *.hbs text
  86. *.hbt text
  87. *.jade text
  88. *.latte text
  89. *.mustache text
  90. *.njk text
  91. *.phtml text
  92. *.tmpl text
  93. *.tpl text
  94. *.twig text
  95. *.vue text
  96. # Linters
  97. .csslintrc text
  98. .eslintrc text
  99. .htmlhintrc text
  100. .jscsrc text
  101. .jshintrc text
  102. .jshintignore text
  103. .stylelintrc text
  104. # Configs
  105. *.bowerrc text
  106. *.cnf text
  107. *.conf text
  108. *.config text
  109. .babelrc text
  110. .browserslistrc text
  111. .editorconfig text
  112. .env text
  113. .gitattributes text
  114. .gitconfig text
  115. .htaccess text
  116. *.lock text -diff
  117. package-lock.json text -diff
  118. *.npmignore text
  119. *.yaml text
  120. *.yml text
  121. browserslist text
  122. Makefile text
  123. makefile text
  124. # Heroku
  125. Procfile text
  126. .slugignore text
  127. # Graphics
  128. *.ai binary
  129. *.bmp binary
  130. *.eps binary
  131. *.gif binary
  132. *.gifv binary
  133. *.ico binary
  134. *.jng binary
  135. *.jp2 binary
  136. *.jpg binary
  137. *.jpeg binary
  138. *.jpx binary
  139. *.jxr binary
  140. *.pdf binary
  141. *.png binary
  142. *.psb binary
  143. *.psd binary
  144. # SVG treated as an asset (binary) by default.
  145. *.svg text
  146. # If you want to treat it as binary,
  147. # use the following line instead.
  148. # *.svg binary
  149. *.svgz binary
  150. *.tif binary
  151. *.tiff binary
  152. *.wbmp binary
  153. *.webp binary
  154. # Audio
  155. *.kar binary
  156. *.m4a binary
  157. *.mid binary
  158. *.midi binary
  159. *.mp3 binary
  160. *.ogg binary
  161. *.ra binary
  162. # Video
  163. *.3gpp binary
  164. *.3gp binary
  165. *.as binary
  166. *.asf binary
  167. *.asx binary
  168. *.fla binary
  169. *.flv binary
  170. *.m4v binary
  171. *.mng binary
  172. *.mov binary
  173. *.mp4 binary
  174. *.mpeg binary
  175. *.mpg binary
  176. *.ogv binary
  177. *.swc binary
  178. *.swf binary
  179. *.webm binary
  180. # Archives
  181. *.7z binary
  182. *.gz binary
  183. *.jar binary
  184. *.rar binary
  185. *.tar binary
  186. *.zip binary
  187. # Fonts
  188. *.ttf binary
  189. *.eot binary
  190. *.otf binary
  191. *.woff binary
  192. *.woff2 binary
  193. # Executables
  194. *.exe binary
  195. *.pyc binary