Skip to content

Document how to treat source generator diagnostics as errors - #287

Open
yvanlo wants to merge 1 commit into
martinothamar:mainfrom
yvanlo:docs/warnings-as-errors-156
Open

yvanlo wants to merge 1 commit into
martinothamar:mainfrom
yvanlo:docs/warnings-as-errors-156

Conversation

@yvanlo

@yvanlo yvanlo commented Sep 21, 2026

Copy link
Copy Markdown

Closes #156

Adds a "Treat diagnostics as errors" section under Diagnostics, with:

  • the list of warning IDs (MSG0001–MSG0010)
  • a WarningsAsErrors example
  • an .editorconfig example

Also links to it from the Quick Start (4.1).

Both approaches were tested locally: a message without a handler (MSG0005) fails the build.

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.

Add Analyzers "Warnings as Errors" example to quick start

1 participant