Enable MA0136 (protects against accidental CRLFs)
This commit is contained in:
parent
1c302e56db
commit
da7331632d
|
@ -320,6 +320,8 @@ dotnet_diagnostic.MA0108.severity = error
|
|||
dotnet_diagnostic.MA0109.severity = silent
|
||||
# Use the Regex source generator
|
||||
dotnet_diagnostic.MA0110.severity = error
|
||||
# Raw String contains an implicit end of line character (if you compile on Windows you may get CRLFs in string literals)
|
||||
dotnet_diagnostic.MA0136.severity = warning
|
||||
# Both if and else branch have identical code
|
||||
dotnet_diagnostic.MA0140.severity = warning
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<Import Project="../../Common.props" />
|
||||
<PropertyGroup>
|
||||
<EnableMSTestRunner>true</EnableMSTestRunner>
|
||||
<NoWarn>$(NoWarn);IDE0065;SA1200</NoWarn> <!-- IDE0065 and SA1200 want imports before a namespace statement -->
|
||||
<NoWarn>$(NoWarn);MA0136;IDE0065;SA1200</NoWarn> <!-- MA0136 is the CRLF in "raw strings" warning; IDE0065 and SA1200 want imports before a namespace statement -->
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue