Repository navigation
Highlights
ChilliCream.Analyzers adds three analyzers, each with a code fix:
- CCA0001: Simplify name
- CCA0002: Remove redundant type arguments
- CCA0003: Access members through their declaring type
The analyzers need the .NET 10 SDK or later. Older SDKs skip them with warning CS9057.
Severity changes in ChilliCream.AnalyzerConfig.Libraries
| Rule | Before | After |
|---|---|---|
| CCA0001 (Simplify name) | not set | warning |
| CCA0002 (Remove redundant type arguments) | not set | warning |
| CCA0003 (Access members through their declaring type) | not set | warning |
| RCS1013 (Use predefined type) | not set | warning |
RCS1020 (Simplify Nullable<T> to T?) |
not set | warning |
| IDE0001 (Simplify name) | warning |
none, replaced by CCA0001 |
| IDE0002 (Simplify member access) | warning |
none, replaced by CCA0001 and CCA0003 |
| IDE0049 (Use language keywords instead of framework type names) | warning |
none, replaced by RCS1013 |
After updating, this command applies the code fixes of the ChilliCream rules:
dotnet format analyzers --diagnostics CCA0001 CCA0002 CCA0003 --severity infoWhat's Changed
- Add the CCA0001 Simplify name analyzer and its code fix by @glen-84 in #1
- Ignore the
.work/directory in git and cspell by @glen-84 in #2 - Run cspell in CI by @glen-84 in #3
- Add CCA0002 to remove redundant generic method type arguments by @glen-84 in #4
- Add CCA0003 to access members through their declaring type by @glen-84 in #5
- Document how the packages are versioned by @glen-84 in #6
- Ship CCA0001, CCA0002, and CCA0003 in release 1.1.0 by @glen-84 in #7
Full Changelog: 1.0.1...1.1.0