提交 8375541f 编写于 作者: S Sam Harwell

Enable RS0101 (Avoid multiple blank lines)

This change excludes src/Compilers from the analysis.
上级 369ece9f
......@@ -115,7 +115,6 @@
<Rule Id="RS0026" Action="Error" />
<Rule Id="RS0027" Action="Error" />
<Rule Id="RS0040" Action="None" /> <!-- Defaultable types should have defaultable fields -->
<Rule Id="RS0101" Action="None" /> <!-- Avoid multiple blank lines -->
</Rules>
<Rules AnalyzerId="Microsoft.NetCore.Analyzers" RuleNamespace="Microsoft.NetCore.Analyzers.ImmutableCollections">
<Rule Id="RS0012" Action="Warning" />
......
......@@ -6,6 +6,9 @@ dotnet_naming_style.local_function_style.capitalization = camel_case
# RS0100: Statements must be placed on their own line
dotnet_diagnostic.RS0100.severity = none
# RS0101: Avoid multiple blank lines
dotnet_diagnostic.RS0101.severity = none
# RS0102: Braces must not have blank lines between them
dotnet_diagnostic.RS0102.severity = none
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册