-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore warnings in MVVM generated sources
Until we generate sources based on regulated and acceptable set of code-style rules, warnings for the MVVM generated sources should be ignored for a clean build. We know and acknowledge these warnings and they shouldn't bloat our build logs.
- Loading branch information
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,35 @@ | ||
[*.{cs,vb}] | ||
|
||
# SA1601: Partial elements should be documented | ||
# Analyzer Configurations for Unit Test sources | ||
|
||
# C# Source Files | ||
[*.cs] | ||
|
||
# A C# partial element is missing a documentation header. | ||
dotnet_diagnostic.SA1601.severity = none | ||
|
||
# The Parameter has no matching param tag in the XML comment. | ||
dotnet_diagnostic.CS1573.severity = none | ||
|
||
# Missing XML comment for publicly visible type or member. | ||
dotnet_diagnostic.CS1591.severity = none | ||
dotnet_diagnostic.CS1712.severity = none | ||
|
||
# The Type parameter has no matching typeparam tag in the XML comment. | ||
dotnet_diagnostic.CS1712.severity = none | ||
|
||
|
||
# Analyzer Configurations for MVVM Source Generated test sources | ||
|
||
# C# Source Files | ||
[Microsoft.Toolkit.Mvvm.SourceGenerators/**.cs] | ||
|
||
# Prefix local calls with this | ||
dotnet_diagnostic.SA1101.severity = none | ||
|
||
# The file header XML is invalid. | ||
dotnet_diagnostic.SA1633.severity = none | ||
|
||
# File name should match first type name. | ||
dotnet_diagnostic.SA1649.severity = none | ||
|
||
# Non-nullable field 'value' must contain a non-null value when exiting constructor. | ||
dotnet_diagnostic.CS8618.severity = none |