Skip to content

Instantly share code, notes, and snippets.

@ecool
Last active January 29, 2022 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecool/0cb9f81b9eef791ca08add9d3c274c82 to your computer and use it in GitHub Desktop.
Save ecool/0cb9f81b9eef791ca08add9d3c274c82 to your computer and use it in GitHub Desktop.
.editorconfig
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{js,ts,json,html}]
indent_size = 2
[*.cs]
csharp_style_inlined_variable_declaration = false
csharp_style_prefer_switch_expression = false
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_style_collection_initializer = false
dotnet_style_object_initializer = false
dotnet_style_prefer_compound_assignment = false
dotnet_style_readonly_field = false
# dotnet_diagnostic.<RULE_ID>.severity = <default|none|silent|info|warning|error>
dotnet_diagnostic.RCS1169.severity = none
dotnet_diagnostic.RCS1099.severity = none
dotnet_diagnostic.RCS1171.severity = none
dotnet_diagnostic.RCS1180.severity = none
dotnet_diagnostic.RCS1163.severity = none
dotnet_diagnostic.RCS1036.severity = none
dotnet_diagnostic.IDE0090.severity = none
dotnet_diagnostic.IDE0063.severity = none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment