-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pipeline ran atc-coding-rules-updater Build:
- Loading branch information
1 parent
95c1010
commit 86c843c
Showing
3 changed files
with
31 additions
and
2 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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ATC coding rules - https://github.com/atc-net/atc-coding-rules | ||
# Version: 1.0.0 | ||
# Updated: 11-04-2024 | ||
# Location: cli | ||
# Distribution: Frameworks | ||
|
||
########################################## | ||
# Code Analyzers Rules | ||
########################################## | ||
[*.{cs}] | ||
|
||
dotnet_diagnostic.CA1031.severity = none # Do not catch general exception types | ||
dotnet_diagnostic.CA1303.severity = none # Do not pass literals as localized parameters | ||
dotnet_diagnostic.CA1819.severity = none # Properties should not return arrays | ||
dotnet_diagnostic.CA1848.severity = none # Use the LoggerMessage delegates | ||
dotnet_diagnostic.CA2000.severity = none # Dispose objects before losing scope | ||
dotnet_diagnostic.CA2254.severity = none # Template should be a static expression | ||
|
||
dotnet_diagnostic.MA0076.severity = none # Do not use implicit culture-sensitive ToString in interpolated strings | ||
|
||
dotnet_diagnostic.S2629.severity = none # Don't use string interpolation in logging message templates. | ||
|
||
########################################## | ||
# Custom - Code Analyzers Rules | ||
########################################## |