Skip to content

Instantly share code, notes, and snippets.

@rayyildiz
Created May 14, 2023 20:15
Show Gist options
  • Save rayyildiz/872bc6d4e08e6e3c622b9413a404e24b to your computer and use it in GitHub Desktop.
Save rayyildiz/872bc6d4e08e6e3c622b9413a404e24b to your computer and use it in GitHub Desktop.
# The .editorconfig is used to maintain consistent code style.
# The .editorconfig file is supported by most text editors.
# See https://editorconfig.org
root = true
[*]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
end_of_line = lf
[Dockerfile*]
indent_size = 4
charset = utf-8
[*.go]
indent_style = tab
charset = utf-8
[*.java]
indent_size = 4
charset = utf-8
[*.py]
indent_size = 4
charset = utf-8
* text=auto eol=lf

.gitattributes and .editorconfig file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment