Skip to content

Commit

Permalink
Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Apr 16, 2024
1 parent 3a6a1dc commit b0b1e72
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,24 @@ roslynator_object_creation_type_style=implicit_when_type_is_obvious
#roslynator_use_var_instead_of_implicit_object_creation = true|false
roslynator_use_var_instead_of_implicit_object_creation=false

# Use tuple to swap values
dotnet_diagnostic.IDE0180.severity = error
# Remove unnecessary lambda expression
dotnet_diagnostic.IDE0200.severity = error
# Use UTF-8 string literal
dotnet_diagnostic.IDE0230.severity = error
# Use collection expression for array
dotnet_diagnostic.IDE0300.severity = error
# Use collection expression for empty
dotnet_diagnostic.IDE0301.severity = error
# Use collection expression for stackalloc
dotnet_diagnostic.IDE0302.severity = error
# Use collection expression for Create()
dotnet_diagnostic.IDE0303.severity = error
# Use collection expression for builder
dotnet_diagnostic.IDE0304.severity = error
# Use collection expression for fluent
dotnet_diagnostic.IDE0305.severity = error

[*.{appxmanifest,asax,ascx,aspx,build,cshtml,dtd,fs,fsi,fsscript,fsx,master,ml,mli,nuspec,razor,resw,resx,skin,vb,xaml,xamlx,xoml,xsd}]
indent_style=space
Expand Down

0 comments on commit b0b1e72

Please sign in to comment.