Skip to content

Commit 88274d9

Browse files
committed
Add an EditorConfig for most files in this project
1 parent 70a0682 commit 88274d9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# https://editorconfig.org
2+
#
3+
# https://neovim.io/doc/user/editorconfig.html
4+
# https://github.com/editorconfig/editorconfig-emacs
5+
# https://plugins.jetbrains.com/plugin/7294-editorconfig
6+
# https://marketplace.visualstudio.com/items/EditorConfig.EditorConfig
7+
8+
[*]
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.{go,sh}]
14+
indent_size = tab
15+
indent_style = tab
16+
17+
[*.{md,yml,yaml}]
18+
indent_size = 2
19+
indent_style = space
20+
21+
[Makefile]
22+
indent_style = tab

0 commit comments

Comments
 (0)