Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Jul 31, 2024
1 parent 0b040a9 commit 6600459
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions analyzers/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="Repox" value="https://repox.jfrog.io/artifactory/api/nuget/v3/nuget/index.json" protocolVersion="3" />
</packageSources>
<packageSourceCredentials>
<Repox>
<add key="Username" value="%ARTIFACTORY_USER%" />
<add key="ClearTextPassword" value="%ARTIFACTORY_PASSWORD%" />
</Repox>
</packageSourceCredentials>
<config>
<clear />
<add key="signatureValidationMode" value="require" />
</config>
<trustedSigners>
<clear />
<repository name="nuget.org" serviceIndex="https://api.nuget.org/v3/index.json">
<!-- Subject Name: CN=NuGet.org Repository by Microsoft, valid from 10/04/2018 -->
<certificate fingerprint="0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
<!-- Subject Name: CN=NuGet.org Repository by Microsoft, valid from 16/02/2021 -->
<certificate fingerprint="5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
<!-- sharwell = author of StyleCop.Analyzers -->
<!-- test dependencies: -->
<!-- meirb = Meir Blachman, author of FluentAssertions.Analyzers -->
<!-- kzu = Daniel Cazzulino, author of Moq -->
<!-- jonorossi = Jonathon Rossi, maintainer of Castle Project -->
<!-- onovotny = Claire Novotny, author of Humanizer.Core -->
<!-- SteveGilham = author of AltCover-->
<!-- jamesnk = author of Newtonsoft.Json -->
<!-- commandlineparser = author of CommandLineParser -->
<!-- grpc-packages = author of Grpc.Tools -->
<owners>protobuf-packages;Microsoft;sharwell;meirb;kzu;dotnetfoundation;castleproject;jonorossi;onovotny;fluentassertions;SteveGilham;jamesnk;commandlineparser;grpc-packages</owners>
</repository>
<author name="SonarSource">
<certificate fingerprint="FC4D3F3F815C1B56A656F1A5D9456AF04B469267D945786057175049B15A62A0" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
</author>
</trustedSigners>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected sealed override void Analyze(SonarSyntaxNodeReportingContext context,
{
if (regexContext?.ParseError is { } error)
{
c.ReportIssue(Rule, context.PatternNode, error.Message);
context.ReportIssue(Rule, regexContext.PatternNode, error.Message);
}
}
}

0 comments on commit 6600459

Please sign in to comment.