Skip to content

Commit

Permalink
Update to StyleCop.Analyzers 1.2.0-beta.556
Browse files Browse the repository at this point in the history
  • Loading branch information
edumserrano committed Mar 3, 2024
1 parent 977e552 commit d4a8069
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MarkdownLinkCheckLogParser/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ dotnet_diagnostic.SA1006.severity = suggestion # SA1006: Preprocessor keywords
dotnet_diagnostic.SA1007.severity = suggestion # SA1007: Operator keyword should be followed by space
dotnet_diagnostic.SA1008.severity = suggestion # SA1008: Opening parenthesis should be spaced correctly
dotnet_diagnostic.SA1009.severity = suggestion # SA1009: Closing parenthesis should be spaced correctly
dotnet_diagnostic.SA1010.severity = none # SA1010: Opening square brackets should be spaced correctly # TODO review this, temporarily disabled until https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3687 is resolved. Hopefully soon by merging https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3729
dotnet_diagnostic.SA1010.severity = suggestion # SA1010: Opening square brackets should be spaced correctly
dotnet_diagnostic.SA1011.severity = suggestion # SA1011: Closing square brackets should be spaced correctly
dotnet_diagnostic.SA1012.severity = suggestion # SA1012: Opening braces should be spaced correctly
dotnet_diagnostic.SA1013.severity = suggestion # SA1013: Closing braces should be spaced correctly
Expand Down
2 changes: 1 addition & 1 deletion MarkdownLinkCheckLogParser/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static IMarkdownLinkCheckLogLine Create(ReadOnlyMemory<char> line)
return UnknownLogLine.Instance;
}

private static (bool isStartOfFile, string filename) IsStartOfFileSummary(ReadOnlySpan<char> line)
private static (bool IsStartOfFile, string Filename) IsStartOfFileSummary(ReadOnlySpan<char> line)
{
// example line:
// FILE: ./tests/liquid-test-logger-template.md
Expand All @@ -42,7 +42,7 @@ private static (bool isStartOfFile, string filename) IsStartOfFileSummary(ReadOn
return (false, string.Empty);
}

private static (bool isLinksChecked, int linksChecked) IsLinksCheckedLine(ReadOnlySpan<char> line)
private static (bool IsLinksChecked, int LinksChecked) IsLinksCheckedLine(ReadOnlySpan<char> line)
{
// example line:
// 0 links checked.
Expand Down

0 comments on commit d4a8069

Please sign in to comment.