File tree Expand file tree Collapse file tree 1 file changed +27
-7
lines changed
Expand file tree Collapse file tree 1 file changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,29 @@ If using VS Code Prettier or related extensions (such as for formatting with sem
2020
2121These are separate but can combined if they make sense for one project.
2222
23+
24+ ## General format
25+
26+ ``` ini
27+ root = true
28+
29+ [*]
30+ foo = bar
31+
32+ [*.foo]
33+ foo = bar
34+
35+ [*.{buzz,bazz}]
36+ foo = bar
37+ ```
38+
39+ Some people like to put this at the top of the file:
40+
41+ ``` ini
42+ # editorconfig.org
43+ ```
44+
45+
2346### Shell
2447
2548``` ini
@@ -74,20 +97,17 @@ indent_size = 4
7497### HTML
7598
7699``` ini
77- # editorconfig.org
78-
79- root = true
80-
81100[*]
82101charset = utf-8
83- indent_size = 2
102+ indent_size = 4
84103indent_style = space
85104insert_final_newline = true
86105trim_trailing_whitespace = true
87106```
88- For Jekyll markdown support, add this:
89107
90- ``` init
108+ For Jekyll markdown support, add this. But only if you use the double space at the end of a line to signify a line break.
109+
110+ ``` ini
91111[*.md]
92112trim_trailing_whitespace = false
93113```
You can’t perform that action at this time.
0 commit comments