Skip to content

Commit

Permalink
Move other severity setting to globalconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
huoyaoyuan committed Apr 22, 2022
1 parent d1083ed commit 9502085
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,6 @@ csharp_style_prefer_index_operator = true:warning
csharp_style_prefer_range_operator = true:warning
csharp_style_prefer_switch_expression = false:none

#Supressing roslyn built-in analyzers
# Suppress: EC112

#Disable operator overloads requiring alternate named methods
dotnet_diagnostic.CA2225.severity = none

# Banned APIs
dotnet_diagnostic.RS0030.severity = error

[*.{yaml,yml}]
insert_final_newline = true
indent_style = space
Expand Down
6 changes: 6 additions & 0 deletions .globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ dotnet_diagnostic.IDE0130.severity = warning

# IDE1006: Naming style
dotnet_diagnostic.IDE1006.severity = warning

#Disable operator overloads requiring alternate named methods
dotnet_diagnostic.CA2225.severity = none

# Banned APIs
dotnet_diagnostic.RS0030.severity = error

0 comments on commit 9502085

Please sign in to comment.