Skip to content

Commit

Permalink
Fixes warnings caused by [Mapperly breaking changes](https://mapperly…
Browse files Browse the repository at this point in the history
  • Loading branch information
just-seba committed Oct 25, 2024
1 parent 52641e6 commit e5786ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
8 changes: 0 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,3 @@ root = true
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.props]
indent_style = space
indent_size = 2

[*.csproj]
indent_style = space
indent_size = 2
21 changes: 16 additions & 5 deletions server/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[*.props]
indent_style = space
indent_size = 2

[*.csproj]
indent_style = space
indent_size = 2

[*.cs]
# CS8019: Unnecessary using directive
# IDE0005: Remove unnecessary using directives
Expand All @@ -11,6 +19,14 @@ dotnet_diagnostic.CS1573.severity = none
# CA1716: Identifiers should not match keywords
dotnet_diagnostic.CA1716.severity = suggestion

# Riok.Mapperly
# RMG012: Source member was not found for target member
dotnet_diagnostic.RMG012.severity = error

# RMG020: Source member is not mapped to any target member
dotnet_diagnostic.RMG020.severity = silent

# StyleCop
# S3267: Loops should be simplified with "LINQ" expressions
dotnet_diagnostic.S3267.severity = suggestion

Expand Down Expand Up @@ -125,12 +141,7 @@ dotnet_diagnostic.IDE0010.severity = warning
# IDE0072: Populate switch expression
dotnet_diagnostic.IDE0072.severity = warning

# Riok.Mapperly
# RMG012: Source member was not found for target member
dotnet_diagnostic.RMG012.severity = error

# RMG020: Source member is not mapped to any target member
dotnet_diagnostic.RMG020.severity = silent

[*{Request,Query,Command}.cs]
# S2094: Classes should not be empty
Expand Down

0 comments on commit e5786ee

Please sign in to comment.