Last active
March 28, 2021 18:17
-
-
Save abalaci/8fc4ef6835c440d56c08829cf40e427b to your computer and use it in GitHub Desktop.
A collection of common .editorconfig preferences.
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
# https://editorconfig-specification.readthedocs.io/ | |
root = true | |
[*] | |
charset = utf-8 | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = true | |
tab_width = 4 | |
trim_trailing_whitespace = true | |
[*.cs] | |
dotnet_separate_import_directive_groups = false | |
dotnet_sort_system_directives_first = true | |
[*.csproj] | |
indent_size = 2 | |
tab_width = 2 | |
[*.{css,html}] | |
indent_size = 2 | |
tab_width = 2 | |
[*.{json,md,yml}] | |
indent_size = 2 | |
tab_width = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment