Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SonarAnalyzer.CSharp.Styling #1912

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

pavel-mikula-sonarsource
Copy link
Contributor

@pavel-mikula-sonarsource pavel-mikula-sonarsource commented Apr 25, 2024

Copy link

sonarcloud bot commented Apr 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

@sebastien-marichal sebastien-marichal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
I left one non-blocking suggestion.

@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp.Styling" Version="9.24.0.89429">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to let dependatbot/renovate do the update?

Not sure how hard it could be, but our set-script.ps1 could set the version as well to use the latest. To make things easier, we could set the version like so:

Suggested change
<PackageReference Include="SonarAnalyzer.CSharp.Styling" Version="9.24.0.89429">
<PackageReference Include="SonarAnalyzer.CSharp.Styling" Version="9.24.0.*">

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot use "*" due to json lock files. Each release of sonar-dotnet would break build of all other projects.

We will let update it manually, or let renovate do the job for us.

S4NET Kanban automation moved this from Review in progress to Reviewer approved Apr 29, 2024
@pavel-mikula-sonarsource pavel-mikula-sonarsource merged commit 326aa8c into master Apr 29, 2024
27 checks passed
S4NET Kanban automation moved this from Reviewer approved to Done Apr 29, 2024
@pavel-mikula-sonarsource pavel-mikula-sonarsource deleted the Pavel/Styling branch April 29, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
S4NET Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants