Files
Umbraco-CMS/linting/codeanalysis.ruleset

33 lines
1.1 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="CodeAnalysis" ToolsVersion="15.0">
<Rules AnalyzerId="Roslynator.CSharp.Analyzers" RuleNamespace="Roslynator.CSharp">
<!--Call 'ConfigureAwait(false)'-->
<Rule Id="RCS1090" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
2020-11-23 11:14:07 +00:00
<!--Prefix local calls with this-->
<Rule Id="SA1101" Action="None" />
<!--Using directive should appear within a namespace declaration-->
<Rule Id="SA1200" Action="None" />
2020-11-23 11:14:07 +00:00
<!--Field names must not begin with underscore-->
<Rule Id="SA1309" Action="None" />
<!--A C# code file contains more than one unique type.-->
<Rule Id="SA1402" Action="None" />
<!--The last statement in a multi-line C# initializer or list is missing a trailing comma.-->
<Rule Id="SA1413" Action="None" />
<!--Comments should end with a period.-->
<Rule Id="SA1629" Action="None" />
<!--A C# code file is missing a standard file header.-->
<Rule Id="SA1633" Action="Warning" />
</Rules>
</RuleSet>