Skip to content

Commit

Permalink
editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kkholst committed Jan 3, 2024
1 parent c6d0419 commit ac936a5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf # Unix-style newlines with a newline ending every file
trim_trailing_whitespace = true
indent_size = 2
tab_width = 2
indent_style = space

[*.{h,.hpp,cpp,c}]
insert_final_newline = true

[*.{R}]
insert_final_newline = true

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

0 comments on commit ac936a5

Please sign in to comment.