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

Introduce a WarningsAsErrors block to Robust.Properties.targets #5421

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mervill
Copy link
Member

@Mervill Mervill commented Sep 3, 2024

One way to have fewer warnings is to turn some warnings into errors.

I have one suggestion to start off: CS0105 which is the duplicate using warning. I don't think I care too much about unused usings but duplicate usings should definitely be an error.

It helps take some of the load off of maintainers by turning incidental shit that causes warnings into quick failures. It's not a big ask for either us or downstreams to correct either, so I seems like a no brainer.

@mirrorcult
Copy link
Contributor

wasnt aware you could do this for individual warnings, good idea imo

@Mervill
Copy link
Member Author

Mervill commented Sep 3, 2024

The duplicate using from content was removed so if the tests are re-run we should be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants