Skip to content

Commit

Permalink
Create .editorconfig
Browse files Browse the repository at this point in the history
I think it'd be a good idea to add an `.editorconfig` to the projects root for contributors to easily see the code-formatting style as is common with most Open Source projects.
  • Loading branch information
coliff authored and bep committed Jul 30, 2019
1 parent fe33c23 commit 5875812
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 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

[*.go]
indent_size = 8
indent_style = tab

[*.js]
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

0 comments on commit 5875812

Please sign in to comment.