mirror of
https://github.com/wizbright/waybox.git
synced 2026-03-30 11:10:48 -04:00
Merge pull request #14 from keithbowes/editorconfig
Added .editorconfig file, to help enforce styling guidelines
This commit is contained in:
commit
6bfe782343
1 changed files with 19 additions and 0 deletions
19
.editorconfig
Normal file
19
.editorconfig
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue