Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indroduce Rule.Id #7468

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Indroduce Rule.Id #7468

wants to merge 6 commits into from

Conversation

BraisGabin
Copy link
Member

@BraisGabin BraisGabin commented Jul 21, 2024

The same way we have Rule.Name and RuleSet.Id we should also have Rule.Id to have an api more type safe.

This PR also do another minor improvements in the code around these values.

Thanks to @TWiStErRob because the main idea of this PR came from him and we work on it on a fast pair programming session.

@TWiStErRob tell me if there is something else that I should cover.

Blocked by:

Copy link

codecov bot commented Jul 21, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.71%. Comparing base (cdd4825) to head (95aec44).

Files Patch % Lines
...fig/validation/InvalidPropertiesConfigValidator.kt 0.00% 0 Missing and 1 partial ⚠️
...arturbosch/detekt/core/suppressors/Suppressions.kt 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7468       /-   ##
============================================
  Coverage     84.68%   84.71%    0.02%     
  Complexity     4195     4195              
============================================
  Files           575      574       -1     
  Lines         12011    12011              
  Branches       2480     2480              
============================================
  Hits          10172    10175        3     
  Misses          587      586       -1     
  Partials       1252     1250       -2     

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

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

Successfully merging this pull request may close these issues.

None yet

2 participants