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

Remove extensions.disableDefaultRuleSets in favor of RulesSpec.RunPolicy.DisableDefaultRuleSets #7380

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

BraisGabin
Copy link
Member

@BraisGabin BraisGabin commented Jun 17, 2024

Introduce RulesSpec.RunPolicy.DisableDefaultRuleSets and remove the boolean extensions.disableDefaultRuleSets. This makes our public api a bit easier and the code that implements it too.

@BraisGabin BraisGabin added the breaking change Marker for breaking changes which should be highlighted in the changelog label Jun 17, 2024
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 84.49%. Comparing base (4fa634a) to head (1119d07).

Files Patch % Lines
...ain/kotlin/io/gitlab/arturbosch/detekt/cli/Spec.kt 0.00% 0 Missing and 2 partials ⚠️
.../plugin/internal/CompilerConfigToProcessingSpec.kt 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7380      +/-   ##
============================================
- Coverage     84.50%   84.49%   -0.02%     
+ Complexity     4160     4159       -1     
============================================
  Files           572      572              
  Lines         11890    11886       -4     
  Branches       2461     2461              
============================================
- Hits          10048    10043       -5     
  Misses          590      590              
- Partials       1252     1253       +1     

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

@detekt-ci
Copy link
Collaborator

Warnings
⚠️ This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

Generated by 🚫 dangerJS against 1119d07

@BraisGabin BraisGabin enabled auto-merge (squash) June 22, 2024 23:03
@BraisGabin BraisGabin merged commit 941e5d5 into main Jun 22, 2024
21 checks passed
@BraisGabin BraisGabin deleted the refactor-rulesets-2 branch June 22, 2024 23:15
@BraisGabin BraisGabin added this to the 2.0.0 milestone Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking change Marker for breaking changes which should be highlighted in the changelog cli compiler-plugin core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants