Skip to content

Commit

Permalink
add editorconfig for golang code
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Feb 25, 2020
1 parent 446692e commit 50660dd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# http://editorconfig.org/

root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.yaml, *.yml]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

0 comments on commit 50660dd

Please sign in to comment.