Michael Hoennig
2022-11-25 db17a2e9903e4bb3aad7c8851af4811951c0bc42
commit | author | age
e0b3d2 1 # This file is inspired by https://github.com/alexkaratarakis/gitattributes
MH 2 #
3 # Auto detect text files and perform LF normalization
4 # http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
5 * text=auto
6
7 # The above will handle all files NOT found below
8 # These files are text and should be normalized (Convert crlf => lf)
9
10 *.bat           text eol=crlf
11 *.coffee        text
12 *.css           text
13 *.cql           text
14 *.df            text
15 *.ejs           text
16 *.html          text
17 *.java          text
18 *.js            text
19 *.json          text
20 *.less          text
21 *.properties    text
22 *.sass          text
23 *.scss          text
24 *.sh            text eol=lf
25 *.sql           text
26 *.txt           text
27 *.ts            text
28 *.xml           text
29 *.yaml          text
30 *.yml           text
31
32 # Documents
33 *.doc           diff=astextplain
34 *.DOC           diff=astextplain
35 *.docx          diff=astextplain
36 *.DOCX          diff=astextplain
37 *.dot           diff=astextplain
38 *.DOT           diff=astextplain
39 *.pdf           diff=astextplain
40 *.PDF           diff=astextplain
41 *.rtf           diff=astextplain
42 *.RTF           diff=astextplain
43 *.markdown      text
44 *.md            text
45 *.adoc          text
46 *.textile       text
47 *.mustache      text
48 *.csv           text
49 *.tab           text
50 *.tsv           text
51 *.txt           text
52 AUTHORS         text
53 CHANGELOG       text
54 CHANGES         text
55 CONTRIBUTING    text
56 COPYING         text
57 copyright       text
58 *COPYRIGHT*     text
59 INSTALL         text
60 license         text
61 LICENSE         text
62 NEWS            text
63 readme          text
64 *README*        text
65 TODO            text
66
67 # Graphics
68 *.png           binary
69 *.jpg           binary
70 *.jpeg          binary
71 *.gif           binary
72 *.tif           binary
73 *.tiff          binary
74 *.ico           binary
75 # SVG treated as an asset (binary) by default. If you want to treat it as text,
76 # comment-out the following line and uncomment the line after.
77 *.svg           binary
78 #*.svg          text
79 *.eps           binary
80
81 # These files are binary and should be left untouched
82 # (binary is a macro for -text -diff)
83 *.class         binary
84 *.jar           binary
85 *.war           binary
86
87 ## LINTERS
88 .csslintrc      text
89 .eslintrc       text
90 .jscsrc         text
91 .jshintrc       text
92 .jshintignore   text
93 .stylelintrc    text
94
95 ## CONFIGS
96 *.conf          text
97 *.config        text
98 .editorconfig   text
99 .gitattributes  text
100 .gitconfig      text
101 .gitignore      text
102 .htaccess       text
103 *.npmignore     text
104
105 ## HEROKU
106 Procfile        text
107 .slugignore     text
108
109 ## AUDIO
110 *.kar           binary
111 *.m4a           binary
112 *.mid           binary
113 *.midi          binary
114 *.mp3           binary
115 *.ogg           binary
116 *.ra            binary
117
118 ## VIDEO
119 *.3gpp          binary
120 *.3gp           binary
121 *.as            binary
122 *.asf           binary
123 *.asx           binary
124 *.fla           binary
125 *.flv           binary
126 *.m4v           binary
127 *.mng           binary
128 *.mov           binary
129 *.mp4           binary
130 *.mpeg          binary
131 *.mpg           binary
132 *.swc           binary
133 *.swf           binary
134 *.webm          binary
135
136 ## ARCHIVES
137 *.7z            binary
138 *.gz            binary
139 *.rar           binary
140 *.tar           binary
141 *.zip           binary
142
143 ## FONTS
144 *.ttf           binary
145 *.eot           binary
146 *.otf           binary
147 *.woff          binary
148 *.woff2         binary