Skip to content

Commit

Permalink
Add .editorconfig file for consistent formatting. (elastic#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored Jul 25, 2018
1 parent a256a0c commit c927c3e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# See: http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[.go]
indent_size = 4
indent_style = tab

[*.json]
indent_size = 4
indent_style = space

[*.py]
indent_style = space
indent_size = 4

[*.yml]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab

0 comments on commit c927c3e

Please sign in to comment.