Skip to content

Introduce DefaultRuleSetProvider interface marking detekt-rules providers as default#2279

Merged
arturbosch merged 1 commit into
masterfrom
marker-interface
Jan 19, 2020
Merged

Introduce DefaultRuleSetProvider interface marking detekt-rules providers as default#2279
arturbosch merged 1 commit into
masterfrom
marker-interface

Conversation

@arturbosch
Copy link
Copy Markdown
Member

This way we won't forget to add new Provider's like we did with CoroutinesProvider.

…ders as default

This way we won't forget to add new Provider's like we did with `CoroutinesProvider`.
@arturbosch arturbosch added this to the 1.5.0 milestone Jan 19, 2020
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.

Could you please check if the RuleSetProvider is referenced in a config validation test or in the generator module via string?

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 19, 2020

Codecov Report

Merging #2279 into master will decrease coverage by 0.01%.
The diff coverage is 81.25%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2279      +/-   ##
============================================
- Coverage     81.69%   81.68%   -0.02%     
+ Complexity     2112     2111       -1     
============================================
  Files           348      348              
  Lines          6031     6032       +1     
  Branches       1104     1105       +1     
============================================
  Hits           4927     4927              
- Misses          518      519       +1     
  Partials        586      586
Impacted Files Coverage Δ Complexity Δ
...bosch/detekt/rules/providers/ComplexityProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...bosch/detekt/rules/providers/CoroutinesProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...bosch/detekt/rules/providers/ExceptionsProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...io/gitlab/arturbosch/detekt/core/RuleSetLocator.kt 100% <100%> (ø) 6 <3> (-1) ⬇️
...rturbosch/detekt/rules/providers/NamingProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...bosch/detekt/rules/providers/StyleGuideProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...sch/detekt/rules/providers/PotentialBugProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...sch/detekt/rules/providers/CommentSmellProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...rbosch/detekt/rules/providers/EmptyCodeProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
...osch/detekt/rules/providers/PerformanceProvider.kt 100% <100%> (ø) 3 <1> (ø) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 618207b...1a328d4. Read the comment docs.

@arturbosch
Copy link
Copy Markdown
Member Author

Looks good, I had to add the new interface to the generator. No "RuleSetProvider" in the codebase.

@arturbosch arturbosch merged commit 2c6af9c into master Jan 19, 2020
@arturbosch arturbosch deleted the marker-interface branch January 19, 2020 20:22
cortinico pushed a commit to cortinico/detekt that referenced this pull request Jan 20, 2020
…ders as default (detekt#2279)

This way we won't forget to add new Provider's like we did with `CoroutinesProvider`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants