Skip to content

Commit f3c31ea

Browse files
committed
add gitattributes and prettierrc
1 parent f8d278c commit f3c31ea

2 files changed

Lines changed: 208 additions & 0 deletions

File tree

.gitattributes

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
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+
######################################################################
10+
11+
* text=auto
12+
13+
# Source code
14+
*.bash text eol=lf
15+
*.bat text eol=crlf
16+
*.cmd text eol=crlf
17+
*.coffee text
18+
*.css text
19+
*.htm text diff=html
20+
*.html text diff=html
21+
*.inc text
22+
*.ini text
23+
*.js text
24+
*.json text
25+
*.jsx text
26+
*.less text
27+
*.ls text
28+
*.map text -diff
29+
*.od text
30+
*.onlydata text
31+
*.php text diff=php
32+
*.pl text
33+
*.ps1 text eol=crlf
34+
*.py text diff=python
35+
*.rb text diff=ruby
36+
*.sass text
37+
*.scm text
38+
*.scss text diff=css
39+
*.sh text eol=lf
40+
*.sql text
41+
*.styl text
42+
*.tag text
43+
*.ts text
44+
*.tsx text
45+
*.xml text
46+
*.xhtml text diff=html
47+
48+
# Docker
49+
*.dockerignore text
50+
Dockerfile text
51+
52+
# Documentation
53+
*.ipynb text
54+
*.markdown text
55+
*.md text
56+
*.mdwn text
57+
*.mdown text
58+
*.mkd text
59+
*.mkdn text
60+
*.mdtxt text
61+
*.mdtext text
62+
*.txt text
63+
AUTHORS text
64+
CHANGELOG text
65+
CHANGES text
66+
CONTRIBUTING text
67+
COPYING text
68+
copyright text
69+
*COPYRIGHT* text
70+
INSTALL text
71+
license text
72+
LICENSE text
73+
NEWS text
74+
readme text
75+
*README* text
76+
TODO text
77+
78+
# Templates
79+
*.dot text
80+
*.ejs text
81+
*.haml text
82+
*.handlebars text
83+
*.hbs text
84+
*.hbt text
85+
*.jade text
86+
*.latte text
87+
*.mustache text
88+
*.njk text
89+
*.phtml text
90+
*.tmpl text
91+
*.tpl text
92+
*.twig text
93+
*.vue text
94+
95+
# Linters
96+
.csslintrc text
97+
.eslintrc text
98+
.htmlhintrc text
99+
.jscsrc text
100+
.jshintrc text
101+
.jshintignore text
102+
.stylelintrc text
103+
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+
125+
# Heroku
126+
Procfile text
127+
.slugignore 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 text
147+
*.svgz binary
148+
*.tif binary
149+
*.tiff binary
150+
*.wbmp binary
151+
*.webp binary
152+
153+
# Audio
154+
*.kar binary
155+
*.m4a binary
156+
*.mid binary
157+
*.midi binary
158+
*.mp3 binary
159+
*.ogg binary
160+
*.ra binary
161+
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+
181+
# Archives
182+
*.7z binary
183+
*.gz binary
184+
*.jar binary
185+
*.rar binary
186+
*.tar binary
187+
*.zip binary
188+
189+
# Fonts
190+
*.ttf binary
191+
*.eot binary
192+
*.otf binary
193+
*.woff binary
194+
*.woff2 binary
195+
196+
# Executables
197+
*.exe binary
198+
*.pyc binary

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"useTabs": false,
3+
"printWidth": 70,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"trailingComma": "all",
7+
"parser": "babel",
8+
"noSemi": false,
9+
"bracketSpacing": true
10+
}

0 commit comments

Comments
 (0)