Create standard-library `RuleSet` by BraisGabin · Pull Request #9143 · detekt/detekt · GitHub
Skip to content

Create standard-library RuleSet#9143

Open
BraisGabin wants to merge 1 commit intomainfrom
standard-library
Open

Create standard-library RuleSet#9143
BraisGabin wants to merge 1 commit intomainfrom
standard-library

Conversation

@BraisGabin
Copy link
Copy Markdown
Member

@BraisGabin BraisGabin commented Mar 11, 2026

Close #3085 (all the context there)

This PR creates a new rule set called standard-library.

I'm not sure if I pick all the rules related with the stdlib or if I should return any to their past location. I'm open to feedback.

@detekt-ci
Copy link
Copy Markdown
Collaborator

detekt-ci commented Mar 11, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.85%. Comparing base (0821957) to head (e74a66d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9143   +/-   ##
=========================================
  Coverage     84.84%   84.85%           
- Complexity     4430     4433    +3     
=========================================
  Files           569      570    +1     
  Lines         12303    12308    +5     
  Branches       2707     2707           
=========================================
+ Hits          10439    10444    +5     
  Misses          688      688           
  Partials       1176     1176           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@schalkms
Copy link
Copy Markdown
Member

@BraisGabin after handling the merge conflicts, I'll try to review this PR.

@BraisGabin
Copy link
Copy Markdown
Member Author

Rebased :)

Copy link
Copy Markdown
Member

@schalkms schalkms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule location is in line with my expectation for a standard-lib.
Since this is a breaking change (detekt users have to adapt their config), I think this should be highlighted in the changelog.

@cortinico cortinico added notable changes Marker for notable changes in the changelog breaking change Marker for breaking changes which should be highlighted in the changelog labels Apr 15, 2026
@cortinico cortinico added this to the 2.0.0 milestone Apr 15, 2026
@BraisGabin
Copy link
Copy Markdown
Member Author

Since this is a breaking change (detekt users have to adapt their config), I think this should be highlighted in the changelog.

I don't know which action I should take to make this happen.

@schalkms
Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Marker for breaking changes which should be highlighted in the changelog build core notable changes Marker for notable changes in the changelog rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stdlib ruleset

4 participants