Skip to content

Commit c5ba165

Browse files
committed
Merge pull request #1532 from sharwell/enable-1129
Enable SA1129 (DoNotUseDefaultValueTypeConstructor) by default
2 parents 1566e36 + 00356c4 commit c5ba165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1129DoNotUseDefaultValueTypeConstructor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class SA1129DoNotUseDefaultValueTypeConstructor : DiagnosticAnalyzer
2525
private static readonly string HelpLink = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1129.md";
2626

2727
private static readonly DiagnosticDescriptor Descriptor =
28-
new DiagnosticDescriptor(DiagnosticId, Title, MessageFormat, AnalyzerCategory.ReadabilityRules, DiagnosticSeverity.Warning, AnalyzerConstants.DisabledNoTests, Description, HelpLink);
28+
new DiagnosticDescriptor(DiagnosticId, Title, MessageFormat, AnalyzerCategory.ReadabilityRules, DiagnosticSeverity.Warning, AnalyzerConstants.EnabledByDefault, Description, HelpLink);
2929

3030
/// <inheritdoc/>
3131
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }

0 commit comments

Comments
 (0)