Skip to content

Commit f19cf58

Browse files
committed
Add .editorconfig for indent style
Tell editors that we use 2 spaces for indent in bash files. https://editorconfig.org Signed-off-by: Natanael Copa <[email protected]>
1 parent dcc188f commit f19cf58

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is for unifying the coding style for different editors and IDEs.
2+
# Plugins are available for notepad++, emacs, vim, gedit,
3+
# textmate, visual studio code, and more.
4+
#
5+
# See http://editorconfig.org for details.
6+
7+
# Top-most EditorConfig file.
8+
root = true
9+
10+
[*.bash]
11+
indent_style = space
12+
indent_size = 2
13+
end_of_line = lf
14+
insert_final_newline = true
15+
trim_trailing_whitespace = true
16+

0 commit comments

Comments
 (0)