[Awake] Enable analyzer and fix warnings (#16899)

* [Awake] Enable analyzer and fix warnings

* Suppress "CA1051:Do not declare visible instance fields" for structs

* Revert "Suppress "CA1051:Do not declare visible instance fields" for structs"

This reverts commit bea215bffa.

* Suppress "CA1051:Do not declare visible instance fields" for structs

* spellchecker
This commit is contained in:
CleanCodeDeveloper
2022-03-09 13:09:17 +01:00
committed by GitHub
parent 46684966a1
commit 425346b1f2
4 changed files with 9 additions and 3 deletions

View File

@@ -5,3 +5,6 @@ dotnet_diagnostic.SA1201.severity = none
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = suggestion
# CA1051: Do not declare visible instance fields
dotnet_code_quality.ca1051.exclude_structs = true