Skip to content

Commit

Permalink
Add initial EditorConfig support
Browse files Browse the repository at this point in the history
Handle *.c, *.h, and *.yaml files.

Signed-off-by: Yegor Yefremov <[email protected]>
  • Loading branch information
yegorich authored and cminyard committed Apr 13, 2024
1 parent 978cf04 commit e5c3dfa
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

[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[{*.c,*.h}]
indent_style = space
indent_size = 4

[*.yaml]
indent_style = space
indent_size = 2

0 comments on commit e5c3dfa

Please sign in to comment.