Browse Source

Add .editorconfig and .gitattributes

Joseph C. Lehner 3 years ago
parent
commit
9565154e4f
2 changed files with 11 additions and 0 deletions
  1. 9 0
      .editorconfig
  2. 2 0
      .gitattributes

+ 9 - 0
.editorconfig

@@ -0,0 +1,9 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{c,cc,h}]
+indent_style = tab
+tab_width = 4

+ 2 - 0
.gitattributes

@@ -0,0 +1,2 @@
+nmrpflash.dev text eol=crlf
+* text eol=lf