From b9c2cfe1f835c5e7f6e1baccbfe0b376146d2aa7 Mon Sep 17 00:00:00 2001 From: Eduardo Serrano Date: Sun, 3 Mar 2024 11:05:38 +0000 Subject: [PATCH] Update to StyleCop.Analyzers 1.2.0-beta.556 --- GitHubIssueFormsParser/.editorconfig | 2 +- GitHubIssueFormsParser/Directory.Build.props | 2 +- .../IssueFormBodies/Parsing/IssueFormBodyParser.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GitHubIssueFormsParser/.editorconfig b/GitHubIssueFormsParser/.editorconfig index 36482a1..7973dfe 100644 --- a/GitHubIssueFormsParser/.editorconfig +++ b/GitHubIssueFormsParser/.editorconfig @@ -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 diff --git a/GitHubIssueFormsParser/Directory.Build.props b/GitHubIssueFormsParser/Directory.Build.props index fbbf4c3..fca3c95 100644 --- a/GitHubIssueFormsParser/Directory.Build.props +++ b/GitHubIssueFormsParser/Directory.Build.props @@ -61,7 +61,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/GitHubIssueFormsParser/src/GitHubIssuesParserCli/IssueFormBodies/Parsing/IssueFormBodyParser.cs b/GitHubIssueFormsParser/src/GitHubIssuesParserCli/IssueFormBodies/Parsing/IssueFormBodyParser.cs index 39a2028..b424e5c 100644 --- a/GitHubIssueFormsParser/src/GitHubIssuesParserCli/IssueFormBodies/Parsing/IssueFormBodyParser.cs +++ b/GitHubIssueFormsParser/src/GitHubIssuesParserCli/IssueFormBodies/Parsing/IssueFormBodyParser.cs @@ -31,7 +31,7 @@ public static IssueFormBody Parse(IssueFormBodyText issueFormBodyText, IssueForm return templateItemIdx == templateItems.Count - 1 ? null : templateItems[templateItemIdx + 1]; } - private static (int startIdx, int valueLength) GetLevel3HeaderValueIndexes( + private static (int StartIdx, int ValueLength) GetLevel3HeaderValueIndexes( IssueFormYmlTemplateItemLabel currentH3Header, IssueFormYmlTemplateItemLabel? nextH3Header, IssueFormBodyText issueFormBodyText)