Skip to content

Commit 17a5a56

Browse files
author
Adam Spiers
committed
Add an .editorconfig to ensure consistent whitespace policy
src/README.md already says: _Before_ beginning development, especially on teams, make sure to configure your linter and code formatting to conform to one unified setting EditorConfig (see https://editorconfig.org/) is a fantastic way to ensure that many editors will automatically configure themselves with settings to correctly match any project containing an .editorconfig file. So add one to this project with settings matching the existing style (including 2-column indentation).
1 parent 16879fb commit 17a5a56

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# EditorConfig http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# All files
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_size = 2
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true

0 commit comments

Comments
 (0)