Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jerviscui committed May 12, 2024
1 parent 0494df5 commit 20321df
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,25 @@ dotnet_diagnostic.CA2241.severity = error
# IDE0043: 无效的格式字符串
dotnet_diagnostic.IDE0043.severity = none

##########################################
# CodeRush
##########################################

# CRR0030: Redundant 'await'
dotnet_diagnostic.CRR0030.severity = error

# CRR0033: The void async method should be in a try/catch block
dotnet_diagnostic.CRR0033.severity = error

# CRR0036: The 'await Task.FromResult()' expression is redundant
dotnet_diagnostic.CRR0036.severity = error

# CRR0037: Task.Wait is used in an async method
dotnet_diagnostic.CRR0037.severity = error

# CRR0040: The Code Metric value exceeds defined threshold
dotnet_diagnostic.CRR0040.severity = suggestion

##########################################
# SonarLint
##########################################
Expand Down

0 comments on commit 20321df

Please sign in to comment.