Skip to content

Commit e7d6d66

Browse files
committed
adds default .editorconfig
1 parent 0719485 commit e7d6d66

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.editorconfig

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
# This file is the top-most EditorConfig file
5+
root = true
6+
7+
# All Files
8+
[*]
9+
charset = utf-8
10+
indent_size = 4
11+
indent_style = space
12+
end_of_line = lf
13+
insert_final_newline = true
14+
trim_trailing_whitespace = true
15+
16+
# XML Configuration Files
17+
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
18+
indent_size = 2
19+
20+
# JSON Files
21+
[*.{json,json5,webmanifest}]
22+
indent_size = 2
23+
24+
# YAML Files
25+
[*.{yml,yaml}]
26+
indent_size = 2
27+
28+
# Markdown Files
29+
[*.md]
30+
trim_trailing_whitespace = false
31+
32+
# Web Files
33+
[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,svg,vue}]
34+
indent_size = 2
35+
36+
# Batch Files
37+
[*.{cmd,bat}]
38+
end_of_line = crlf
39+
40+
# Bash Files
41+
[*.sh]
42+
end_of_line = lf
43+
44+
# Makefiles
45+
[Makefile]
46+
indent_style = tab

0 commit comments

Comments
 (0)