diff options
author | Youssef Victor <31348972+Youssef1313@users.noreply.github.com> | 2021-02-19 20:12:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 20:12:37 +0300 |
commit | 350ea5b18145ee654cb7efe75d3da99d96bdfb3f (patch) | |
tree | 008a6c32e2294e77a6d8ec735b74103e33d81589 /.globalconfig | |
parent | 01982deeb026ed635ca96ab6a48e2028f53120ed (diff) |
Use NetAnalyzers from SDK instead of FxCopAnalyzers (#30138)
* Use analyzers from .NET SDK
Diffstat (limited to '.globalconfig')
-rw-r--r-- | .globalconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.globalconfig b/.globalconfig new file mode 100644 index 0000000000..96ab34f3f7 --- /dev/null +++ b/.globalconfig @@ -0,0 +1,16 @@ +is_global = true + +# CA1309: Use ordinal StringComparison +# https://github.com/dotnet/aspnetcore/pull/30111#issuecomment-777817003 +dotnet_diagnostic.CA1309.severity = suggestion + +# CA3076: Insecure XSLT Script Execution +# Disabled due to crashing: https://github.com/dotnet/roslyn-analyzers/issues/4750 +# Delete the following line when we have a working version. +dotnet_diagnostic.CA3076.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error |