File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ Unreleased]
4+
5+ ### Added
6+ - Add ` --rules ` CLI option to run specific rules ignoring ` .editorconfig ` (e.g., ` --rules CSLINT266,CSLINT268 ` or ` --rules all ` )
7+ - Add ` --summary ` CLI option to show diagnostics grouped by rule ID
8+
39## [ 1.4.1] - 2026-03-22
410
511### Fixed
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ dotnet test --filter "FullyQualifiedName~TrailingWhitespaceRuleTests.DetectsTrai
1616dotnet run --project src/CsLint.Cli -- [path...] # lint files or directories (defaults to CWD)
1717dotnet run --project src/CsLint.Cli -- --list-rules # list all available rules
1818dotnet run --project src/CsLint.Cli -- --semantic [path...] # lint with semantic analysis (Tier 4 rules)
19+ dotnet run --project src/CsLint.Cli -- --rules CSLINT266,CSLINT268 [path...] # run only specific rules, ignoring .editorconfig
20+ dotnet run --project src/CsLint.Cli -- --rules all [path...] # run all rules, ignoring .editorconfig
1921dotnet run --project src/CsLint.Cli -- --show-config [path] # show resolved .editorconfig settings for a path
2022```
2123
Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ cslint src/ --exclude "**/Generated/*.cs" --exclude "**/*.g.cs"
7373# Enable semantic analysis (Tier 4 rules)
7474cslint src/ --semantic
7575
76+ # Run only specific rules, ignoring .editorconfig
77+ cslint src/ --rules CSLINT266,CSLINT268
78+
79+ # Run all rules, ignoring .editorconfig
80+ cslint src/ --rules all
81+
7682# List all available rules
7783cslint --list-rules
7884
You can’t perform that action at this time.
0 commit comments