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