Skip to content

Commit

Permalink
Help Github with code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Jul 4, 2017
1 parent 554918c commit af78231
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

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

; Golang
[*.go]
indent_style = tab
indent_size = 4

; C
[*.c]
indent_style = space
indent_size = 4

; YAML
[*.yaml]
indent_style = space
indent_size = 2

0 comments on commit af78231

Please sign in to comment.