Skip to content

Instantly share code, notes, and snippets.

@realmovestar
Last active September 24, 2022 13:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save realmovestar/58eeaa8cfbe382b5f0b1d7338134eb5b to your computer and use it in GitHub Desktop.
Save realmovestar/58eeaa8cfbe382b5f0b1d7338134eb5b to your computer and use it in GitHub Desktop.
# curl -s -o .editorconfig https://gist.githubusercontent.com/realmovestar/58eeaa8cfbe382b5f0b1d7338134eb5b/raw/cae4440cc24ac802c8e4bb2a27ab5d3ae34a79ce/.editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = true
[*.{css,less,scss}]
indent_size = 2
[*.{ftl,ftlh,ftlx}]
indent_size = 2
[*.go]
indent_style = tab
[*.{groovy,gradle}]
indent_size = 4
[*.html]
indent_size = 2
[*.java]
indent_size = 4
[*.{js,json}]
indent_size = 2
[*.{kt,kts}]
indent_size = 4
[*.md]
trim_trailing_whitespace = false
[*.py]
indent_size = 4
[*.rb]
indent_size = 2
[*.{scala,sc}]
indent_size = 2
[*.xml]
indent_size = 2
[*.{yaml,yml}]
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment