Last active
September 24, 2022 13:40
-
-
Save realmovestar/58eeaa8cfbe382b5f0b1d7338134eb5b to your computer and use it in GitHub Desktop.
EditorConfig based on https://ukupat.github.io/tabs-or-spaces/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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