intility / intility/json-api-toolkit
Enable TreatWarningsAsErrors and analyzers repo-wide
Open
@erlendellefsen is already working on this.
Since Aug 20, 2026.
.NET
enhancement
- Dominant language
- C#
- Stars
- 7
- Forks
- 0
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 23
Description
The build does not enforce warnings or analyzers. For a published library this is the wrong default. Land this last so the cleanup PRs are already in.
Acceptance criteria
-
Directory.Build.propssetsTreatWarningsAsErrors=true,EnableNETAnalyzers=true,EnforceCodeStyleInBuild=true,AnalysisMode=Recommended(or stricter) - All resulting warnings either fixed or explicitly suppressed in
.editorconfigwith a justification - CI build is green
- Test project may opt out if generated-code noise is unmanageable; document any opt-out
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.