Skip to content

Commit

Permalink
Add EditorConfig and Force LF line endings (DualCoder#18)
Browse files Browse the repository at this point in the history
* Add EditorConfig and set git LF line endings
  • Loading branch information
jonpas authored Apr 11, 2021
1 parent 5767560 commit 8a6353e
Show file tree
Hide file tree
Showing 2 changed files with 20 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 @@
root = true

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

[*.{c,h}]
indent_style = tab
indent_size = 8

[*.ld]
indent_size = 2

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto

0 comments on commit 8a6353e

Please sign in to comment.