Skip to content

Commit

Permalink
chore: update editorconfig to help maintain coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinWilkinson committed Jun 8, 2024
1 parent 68a4e67 commit 158ec17
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case

# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = warning
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const


Expand Down Expand Up @@ -154,6 +154,9 @@ csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false

# Opening square brackets should not be preceded by a space.
dotnet_diagnostic.SA1010.severity = none

# Wrapping preferences
csharp_preserve_single_line_blocks = true

Expand Down Expand Up @@ -197,3 +200,17 @@ csharp_prefer_simple_using_statement = true:suggestion
# Using directives must be placed inside of a namespace declaration
# IDE0065: Misplaced using directive
csharp_using_directive_placement = inside_namespace

#############################################################
# Resharper Rules #
# Resharper rule name syntax #
# resharper_<inspection_name>_highlighting=<severity_level> #
#############################################################

# noinspection EditorConfigKeyCorrectness

resharper_bad_parens_spaces_highlighting = none
resharper_bad_list_line_breaks_highlighting = none
resharper_bad_parens_line_breaks_highlighting = none

# inspection EditorConfigKeyCorrectness

0 comments on commit 158ec17

Please sign in to comment.