Skip to content

docs: update installation instructions with recommended PackageReference sample and disabled-by-default rules - #3

Merged
cliedeman merged 2 commits into
mainfrom
copilot/update-overview-documentation
May 31, 2026
Merged

docs: update installation instructions with recommended PackageReference sample and disabled-by-default rules#3
cliedeman merged 2 commits into
mainfrom
copilot/update-overview-documentation

Conversation

Copilot AI commented May 31, 2026

Copy link
Copy Markdown
Contributor

Two gaps in the installation docs: the PackageReference snippet didn't match the recommended form from the root README, and the editorconfig sample omitted rules that are off by default.

Changes

  • docs/docs/intro.md — PackageReference format: replaced PrivateAssets="all" with OutputItemType="Analyzer" ReferenceOutputAssembly="false", consistent with the root README.md
  • docs/docs/intro.md — Rule configuration sample: added SW002 (unused method detection, disabled by default) with an inline comment flagging its opt-in nature and pointing to its docs for caveats
[*.cs]
# Enable rules that are disabled by default
dotnet_diagnostic.SW002.severity = warning  # Unused method (disabled by default — see SW002 docs for caveats)

@cliedeman
cliedeman marked this pull request as ready for review May 31, 2026 11:28
@cliedeman
cliedeman merged commit 70f7196 into main May 31, 2026
2 checks passed
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