Skip to content

Instantly share code, notes, and snippets.

@xiaomi7732
Last active December 5, 2024 22:34
Show Gist options
  • Save xiaomi7732/b27f53e0473371517ecc0787be68d0c1 to your computer and use it in GitHub Desktop.
Save xiaomi7732/b27f53e0473371517ecc0787be68d0c1 to your computer and use it in GitHub Desktop.
My Minimum editorConfig file
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
[*.{cs,vb}]
dotnet_sort_system_directives_first = false
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
[*.{json,jsonc}]
indent_size = 2
[*.{csproj}]
indent_size = 2
[*.sh]
end_of_line = lf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment