Skip to content

Instantly share code, notes, and snippets.

@markruler
Last active April 25, 2021 13:26
Show Gist options
  • Save markruler/5b7e9a0667d2dd3476631e925c9e6435 to your computer and use it in GitHub Desktop.
Save markruler/5b7e9a0667d2dd3476631e925c9e6435 to your computer and use it in GitHub Desktop.
.editorconfig
# EditorConfig is awesome: https://EditorConfig.org
# https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
max_line_length = 85
[*.{java,js,ts,go,py,c,cpp,groovy,kt}]
indent_size = 4
tab_width = 4
[*.{json,yaml,txt,md,xml,html,tsx}]
indent_size = 2
tab_width = 2
[*.{json,yaml,md,xml,html}]
max_line_length = off
[Makefile]
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment