Skip to content

Instantly share code, notes, and snippets.

@burubur
Created February 21, 2020 18:57
Show Gist options
  • Save burubur/8ac9916c9de3b5114d193274f9d3b4a4 to your computer and use it in GitHub Desktop.
Save burubur/8ac9916c9de3b5114d193274f9d3b4a4 to your computer and use it in GitHub Desktop.
common .editorconfig
; http://editorconfig.org/
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
[*.{go,mod}]
indent_size = 4
[*.{json,yaml,yml}]
indent_size = 2
[{Makefile,**.mk}]
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment