Skip to content

Commit 71f2055

Browse files
authored
chore: add .editorconfig file (#302)
Among other things, this should help ensure that editors use the same indenting - note that currently a lot of the Python files in particular are formatted with 4 spaces instead of 2, which will be taken care of at a later date Signed-off-by: Gareth Jones <[email protected]>
1 parent 8243811 commit 71f2055

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+
# 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+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.go]
16+
indent_style = tab

0 commit comments

Comments
 (0)