Merge pull request #14 from keithbowes/editorconfig

Added .editorconfig file, to help enforce styling guidelines
This commit is contained in:
Joe 2020-02-26 09:31:27 -06:00 committed by GitHub
commit 6bfe782343
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
root = true
[{*.c,*.h}]
# Standard
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
tab_width = 8
trim_trailing_whitespace = true
# Non-standard editor extensions
line_comment = /*
block_comment_start = /*
block_comment_end = */
curly_bracket_next_line = false
max_line_length = 80
spaces_around_brackets = outside
spaces_around_operators = true