forked from dotnet/aspnetcore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All rules are currently disabled, except for one that I enabled for src/Http via a new ".editorconfig" file I added there. Other changes: * Allow editorconfigs in MVC and Razor to flow to the root * Consolidate a few editorconfig settings * Tweak Ruleset config in Azure/AzureAD where it clashed. Addresses the beginning of dotnet#9620, but it's a fair chunk of work to enable most rules through the whole repo. That can be done directory by directory and rule by rule by dropping .editorconfig files though.
- Loading branch information
Showing
9 changed files
with
260 additions
and
52 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,27 @@ | ||
# Description: All Globalization Rules are enabled with default severity. | ||
|
||
# Code files | ||
[*.{cs,vb}] | ||
|
||
# Globalization Rules | ||
|
||
# CA1303: Do not pass literals as localized parameters | ||
#dotnet_diagnostic.CA1303.severity = warning | ||
|
||
# CA1304: Specify CultureInfo | ||
#dotnet_diagnostic.CA1304.severity = warning | ||
|
||
# CA1305: Specify IFormatProvider | ||
#dotnet_diagnostic.CA1305.severity = warning | ||
|
||
# CA1307: Specify StringComparison | ||
#dotnet_diagnostic.CA1307.severity = warning | ||
|
||
# CA1308: Normalize strings to uppercase | ||
#dotnet_diagnostic.CA1308.severity = warning | ||
|
||
# CA1309: Use ordinal stringcomparison | ||
dotnet_diagnostic.CA1309.severity = warning | ||
|
||
# CA2101: Specify marshaling for P/Invoke string arguments | ||
#dotnet_diagnostic.CA2101.severity = warning |
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