Skip to content

Commit

Permalink
Add .editorconfig to maintain consistent coding style (#3)
Browse files Browse the repository at this point in the history
This config file of format rules can be applied by many IDEs and editors,
e.g. codium and vim. Some need an extra plugin for that, like the latter.
  • Loading branch information
dr0i committed Sep 10, 2021
1 parent 17ad323 commit d0b56ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root=true

[*]
charset=utf-8
end_of_line=lf
insert_final_newline=true
trim_trailing_whitespace=true
indent_style=space
indent_size=4
continuation_indent_size=8

[{*.yml,*.yaml}]
indent_style=space
indent_size=2

0 comments on commit d0b56ee

Please sign in to comment.