Skip to content

Instantly share code, notes, and snippets.

@fupfin
Last active January 27, 2024 05:08
Show Gist options
  • Save fupfin/60252772d1cca55225c32e4a5501c5ec to your computer and use it in GitHub Desktop.
Save fupfin/60252772d1cca55225c32e4a5501c5ec to your computer and use it in GitHub Desktop.
My default coding style
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
tab_width=8
[*.{java,xml,py,rs}]
indent_size = 4
trim_trailing_whitespace = true
[*.{xml,yml,json}]
indent_size = 2
[*.{js,html,sql,less}]
indent_size = 2
[*.{c, cpp, h, hpp}]
indent_size = 3
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment