Skip to content

Commit b794add

Browse files
committed
Setup editorconfig.
1 parent f5387b7 commit b794add

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"extensions": [
2727
"bierner.github-markdown-preview",
2828
"DavidAnson.vscode-markdownlint",
29+
"EditorConfig.EditorConfig",
2930
"GitHub.vscode-github-actions"
3031
]
3132
}

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
indent_style = space
9+
indent_size = 4
10+
end_of_line = lf
11+
charset = utf-8
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
[*.md]
16+
# double whitespace at end of line
17+
# denotes a line break in Markdown
18+
trim_trailing_whitespace = false
19+
20+
[*.yml]
21+
indent_size = 2
22+
23+
[*devcontainer{,-feature}.json]
24+
indent_style = tab

0 commit comments

Comments
 (0)