Skip to content

Commit 07f546f

Browse files
committed
Improved title and messages in SA1518CodeMustNotContainBlankLinesAtEndOfFile
1 parent 17f4945 commit 07f546f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/SA1518CodeMustNotContainBlankLinesAtEndOfFile.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ internal class SA1518CodeMustNotContainBlankLinesAtEndOfFile : DiagnosticAnalyze
3838
internal static readonly DiagnosticDescriptor DescriptorForOmitSetting =
3939
new DiagnosticDescriptor(DiagnosticId, Title, MessageFormatForOmitSetting, AnalyzerCategory.LayoutRules, DiagnosticSeverity.Warning, AnalyzerConstants.EnabledByDefault, DescriptionForOmitSetting, HelpLink);
4040

41-
private const string Title = "Fix blank lines at the end of the file";
41+
private const string Title = "Use line endings correctly at the end of the file";
4242

43-
private const string MessageFormatForAllowSetting = "Code must not contain blank lines at end of file";
44-
private const string DescriptionForAllowSetting = "Code must not contain blank lines at end of file";
43+
private const string MessageFormatForAllowSetting = "Code must not contain blank lines at the end of the file";
44+
private const string DescriptionForAllowSetting = "Code must not contain blank lines at the end of the file";
4545

4646
private const string MessageFormatForRequireSetting = "Code is required to end with a single newline character";
4747
private const string DescriptionForRequireSetting = "Code is required to end with a single newline character";

0 commit comments

Comments
 (0)