Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 631261e

Browse files
committed
chore(git): add attributes file
1 parent b6b92a4 commit 631261e

File tree

1 file changed

+215
-0
lines changed

1 file changed

+215
-0
lines changed

.gitattributes

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
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+
*.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=crlf
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+
.husky/* text eol=lf
46+
*.sql text
47+
*.styl text
48+
*.tag text
49+
*.ts text
50+
*.tsx text
51+
*.xml text
52+
*.xhtml text diff=html
53+
54+
# Docker
55+
Dockerfile text
56+
57+
# Documentation
58+
*.ipynb text eol=lf
59+
*.markdown text diff=markdown
60+
*.md text diff=markdown
61+
*.mdwn text diff=markdown
62+
*.mdown text diff=markdown
63+
*.mkd text diff=markdown
64+
*.mkdn text diff=markdown
65+
*.mdtxt text
66+
*.mdtext text
67+
*.txt text
68+
AUTHORS text
69+
CHANGELOG text
70+
CHANGES text
71+
CONTRIBUTING text
72+
COPYING text
73+
copyright text
74+
*COPYRIGHT* text
75+
INSTALL text
76+
license text
77+
LICENSE text
78+
NEWS text
79+
readme text
80+
*README* text
81+
TODO text
82+
83+
# Templates
84+
*.dot text
85+
*.ejs text
86+
*.erb text
87+
*.haml text
88+
*.handlebars text
89+
*.hbs text
90+
*.hbt text
91+
*.jade text
92+
*.latte text
93+
*.mustache text
94+
*.njk text
95+
*.phtml text
96+
*.svelte text
97+
*.tmpl text
98+
*.tpl text
99+
*.twig text
100+
*.vue text
101+
102+
# Configs
103+
*.cnf text
104+
*.conf text
105+
*.config text
106+
.editorconfig text
107+
.env text
108+
.gitattributes text
109+
.gitconfig text
110+
.htaccess text
111+
*.lock text -diff
112+
package.json text eol=lf
113+
package-lock.json text eol=lf -diff
114+
pnpm-lock.yaml text eol=lf -diff
115+
.prettierrc text
116+
yarn.lock text -diff
117+
*.toml text
118+
*.yaml text
119+
*.yml text
120+
browserslist text
121+
Makefile text
122+
makefile text
123+
# Fixes syntax highlighting on GitHub to allow comments
124+
tsconfig.json linguist-language=JSON-with-Comments
125+
126+
# Heroku
127+
Procfile text
128+
129+
# Graphics
130+
*.ai binary
131+
*.bmp binary
132+
*.eps binary
133+
*.gif binary
134+
*.gifv binary
135+
*.ico binary
136+
*.jng binary
137+
*.jp2 binary
138+
*.jpg binary
139+
*.jpeg binary
140+
*.jpx binary
141+
*.jxr binary
142+
*.pdf binary
143+
*.png binary
144+
*.psb binary
145+
*.psd binary
146+
# SVG treated as an asset (binary) by default.
147+
*.svg text
148+
# If you want to treat it as binary,
149+
# use the following line instead.
150+
# *.svg binary
151+
*.svgz binary
152+
*.tif binary
153+
*.tiff binary
154+
*.wbmp binary
155+
*.webp binary
156+
157+
# Audio
158+
*.kar binary
159+
*.m4a binary
160+
*.mid binary
161+
*.midi binary
162+
*.mp3 binary
163+
*.ogg binary
164+
*.ra binary
165+
166+
# Video
167+
*.3gpp binary
168+
*.3gp binary
169+
*.as binary
170+
*.asf binary
171+
*.asx binary
172+
*.avi binary
173+
*.fla binary
174+
*.flv binary
175+
*.m4v binary
176+
*.mng binary
177+
*.mov binary
178+
*.mp4 binary
179+
*.mpeg binary
180+
*.mpg binary
181+
*.ogv binary
182+
*.swc binary
183+
*.swf binary
184+
*.webm binary
185+
186+
# Archives
187+
*.7z binary
188+
*.gz binary
189+
*.jar binary
190+
*.rar binary
191+
*.tar binary
192+
*.zip binary
193+
194+
# Fonts
195+
*.ttf binary
196+
*.eot binary
197+
*.otf binary
198+
*.woff binary
199+
*.woff2 binary
200+
201+
# Executables
202+
*.exe binary
203+
*.pyc binary
204+
# Prevents massive diffs caused by vendored, minified files
205+
**/.yarn/releases/** binary
206+
**/.yarn/plugins/** binary
207+
208+
# RC files (like .babelrc or .eslintrc)
209+
*.*rc text
210+
211+
# Ignore files (like .npmignore or .gitignore)
212+
*.*ignore text
213+
214+
# Prevents massive diffs from built files
215+
dist/* binary

0 commit comments

Comments
 (0)