Skip to content

Commit 481df56

Browse files
authored
Comment each section
1 parent 4b2c37b commit 481df56

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .editorconfig

+8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
# coding styles between different editors and IDEs
33
# editorconfig.org
44

5+
; top-most EditorConfig file
56
root = true
67

8+
; define basic and global for any file
79
[*]
810
charset = utf-8
911
end_of_line = lf
@@ -12,16 +14,20 @@ indent_style = space
1214
insert_final_newline = true
1315
trim_trailing_whitespace = true
1416

17+
; DOS scripts - force CRLF eof
1518
[*.{bat,cmd}]
1619
indent_size = 4
1720
end_of_line = crlf
1821

22+
; JSON files - compress a little more
1923
[*.{json,jsonc}]
2024
indent_size = 2
2125

26+
; Make tasks - match defaults according it own syntax
2227
[Makefile]
2328
indent_style = tab
2429

30+
; Markdown files - preserve whitespaces
2531
[*.{md,mkd,mkdn,mdwn,mdown,markdown}]
2632
trim_trailing_whitespace = false
2733

@@ -30,9 +36,11 @@ trim_trailing_whitespace = false
3036
indent_size = 4
3137
charset = utf-8-bom
3238

39+
; Python sources - match defaults according it own syntax
3340
[*.py]
3441
indent_size = 4
3542
indent_style = space
3643

44+
; YML config files - match defaults according it own syntax
3745
[*.{yaml,yml}]
3846
indent_size = 2

0 commit comments

Comments
 (0)