Skip to content

Commit

Permalink
Added EditorConfig specification to help normalize code styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-pappas committed May 9, 2015
1 parent 9706b36 commit c600b2a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
; Top-most EditorConfig file
root = true

; Global settings
[*]
end_of_line = LF
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true

; C source files
[*.{h,c}]
indent_size = 2

; CMake
[CMakeLists.txt]
indent_size = 4

[*.cmake]
indent_size = 4

0 comments on commit c600b2a

Please sign in to comment.