Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.20.0 #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.19.0
->1.20.0
By merging this PR, the issue #62 will be automatically resolved and closed:
Release Notes
detekt/detekt (io.gitlab.arturbosch.detekt:detekt-formatting)
v1.20.0
We're extremely excited to share with you all the next upcoming stable release of Detekt:
1.20.0
🎉This release is coming with 16 new rules, new API and functionalities and several stability improvements.
First, much thanks to our sponsors ❤️ as we were able to buy a domain and move our website to https://detekt.dev/.
As for the feature shipped, we work a lot on the Reporting side: we added a new type of reporting, improved the styling of the existing one and
generally reduced the unnecessary warnings of run with type resolution.
For rules like
ForbiddenMethod
where you can configure a signature of a method you want to use in your rule, we added a new syntaxthat allows to reference generic methods & extension functions.
We update a lot of the libraries we depend on bringing Detekt up to the ecosystem: KtLint 0.45.2, Kotlin 1.6.20 and Gradle 7.4.2 to name a few.
Finally, we also migrated all of our tests from Spek to JUnit. This was a huge effort that will hopefully make easier for contributors
to be involved with Detekt.
As always, we want to take the opportunity to thank our contributors for testing, bug reporting and helping
us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).
Notable Changes
formatting
ruleset provided by Detekt is updated to use this new mechanism - #4352LiteFindingsReport
(which is more compact reporting and similar to other tools in the ecosystem. You can see an example here) - #4449.FindingsReport
andFileBasedFindingsReporter
- #44641.19.0
for users usingignoreAnnotated
running without type resolution - #4570ForbiddenMethod
where you can specify a method name in the config file, now we added support for:v7.4.2
, AGP7.1.3
and Kotlin1.6.20
(see #4530 #4573 #4133 #4277 #4665)0.45.2
(see #4227 #4630 #4645 #4690)Changelog
AnnotationExcluder
- #4518formatting
- #4473Suppressor
s - #4440UnnecessaryAbstractClass
- #4399inner
classes - #4344Dependency Updates
Housekeeping & Refactorings
setReportOutputConventions
- #4546AnnotationExcluder
tests - #4368See all issues at: 1.20.0