Skip to content

Commit a9f9a19

Browse files
committed
Add a basic editorconfig file
This is mostly useful to avoid people from adding trailing whitespace to files.
1 parent 6a96e78 commit a9f9a19

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# basic rules for all files
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
11+
[*.{py,js}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.html]
16+
indent_style = space
17+
indent_size = 1

0 commit comments

Comments
 (0)