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

Enable 2 more Code Quality Rules #20814

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Conversation

RoosterDragon
Copy link
Member

Following on from #20802, #20812

Enforces 2 code quality rules across the project. I have batched together a PR for these rules as the diff is large but boring.

See https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ for explanation of each rule.

Mailaender
Mailaender previously approved these changes Apr 25, 2023
@penev92
Copy link
Member

penev92 commented May 2, 2023

The rules are fine, but IOrderTargeters and traits that are left as internal (making them as unintentional violations of the sealing rule) should become public rather than sealed.
I don't know if we want to deal with that here, but it's worth mentioning.

@RoosterDragon
Copy link
Member Author

Future PRs that make things public can choose to unseal them at the same time if it is appriopriate.

@abcdefg30
Copy link
Member

Seems like this needs a rebase again.

@RoosterDragon
Copy link
Member Author

Rebased

Copy link
Member

@penev92 penev92 left a comment

Choose a reason for hiding this comment

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

OK

@penev92 penev92 merged commit f4af5c1 into OpenRA:bleed Jun 6, 2023
3 checks passed
@penev92
Copy link
Member

penev92 commented Jun 6, 2023

Changelog

@RoosterDragon RoosterDragon deleted the style-ca-large branch June 6, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants