Skip to content

Commit

Permalink
Added .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinhammond committed Dec 31, 2022
1 parent 08a4c96 commit af5bf8e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true

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

[*.{c,h,cpp,cpp,hpp}]
indent_size = 4

[*.{js,ts}]
indent_size = 2

0 comments on commit af5bf8e

Please sign in to comment.