Skip to content

Commit

Permalink
Prevent the compiler from complaining about classes without members
Browse files Browse the repository at this point in the history
When a class like ComparableSpecs only contains nested classes, CA1052 would raise a compilation error.
  • Loading branch information
dennisdoomen committed Mar 12, 2022
1 parent 1d0cf31 commit f7d85f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/FluentAssertions.Specs/.editorconfig
Expand Up @@ -27,6 +27,8 @@ dotnet_diagnostic.CA1036.severity = none
dotnet_diagnostic.CA1040.severity = none
# CA1044: Properties should not be write only
dotnet_diagnostic.CA1044.severity = none
# CA1052: Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1052.severity = none
# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = none
# CA1062: Validate arguments of public methods
Expand Down

0 comments on commit f7d85f4

Please sign in to comment.