Skip to content

Commit f9a3f7e

Browse files
committed
Introducing EditorConfig
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent 9d1ae36 commit f9a3f7e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# EditorConfig is awesome
2+
# http://EditorConfig.org
3+
# This file is based on The Common EditorConfig Template project
4+
# https://github.com/Lin-Buo-Ren/the-common-editorconfig-template
5+
# Public Domain
6+
## This is the top-most EditorConfig file
7+
root = true
8+
9+
## Common settings
10+
[*]
11+
### Varation required
12+
end_of_line = lf
13+
indent_style = tab
14+
15+
### No doubt
16+
insert_final_newline = true
17+
charset = utf-8
18+
trim_trailing_whitespace = true
19+
20+
[*.{md,mkd,mkdn,markdown}]
21+
### Trailing whitespace means manual linebreaks
22+
trim_trailing_whitespace = false
23+
24+
[*.{yml,yaml}]
25+
indent_style = space
26+
indent_size = 2

0 commit comments

Comments
 (0)