Skip to content

Commit

Permalink
change(Codestyle): Update _Detekt_ to version _1.14.0_ see [release n…
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Sep 26, 2020
1 parent 8d5450a commit fed52c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
## Changed
- Codestyle: Update _Detekt_ to version _1.13.1_ see [release notes](https://github.com/detekt/detekt/releases/tag/v1.13.1)
- Codestyle: Update _Detekt_ to version _1.14.0_ see [release notes](https://github.com/detekt/detekt/releases/tag/v1.14.0)
- Update _kotlinter-gradle_ to version _3.1.0_, see [release notes](https://github.com/jeremymailen/kotlinter-gradle/releases/tag/3.1.0)

## [0.19.0] - 2020-09-11
Expand Down
2 changes: 1 addition & 1 deletion plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repositories {

dependencies {
api 'org.jmailen.gradle:kotlinter-gradle:3.2.0'
api 'io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.13.1'
api 'io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.14.0'
api 'com.android.tools.build:gradle:4.0.1'
api 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10'
implementation 'pl.allegro.tech.build:axion-release-plugin:1.11.0'
Expand Down
12 changes: 12 additions & 0 deletions plugins/src/main/resources/detekt-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ complexity:
NestedBlockDepth:
active: true
threshold: 4
ReplaceSafeCallChainWithRun:
active: false
StringLiteralDuplication:
active: false
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
Expand All @@ -127,6 +129,8 @@ coroutines:
active: false
RedundantSuspendModifier:
active: true
SuspendFunWithFlowReturnType:
active: true

empty-blocks:
active: true
Expand Down Expand Up @@ -229,6 +233,12 @@ formatting:
AnnotationOnSeparateLine:
active: false
autoCorrect: true
AnnotationSpacing:
active: false
autoCorrect: true
ArgumentListWrapping:
active: false
autoCorrect: true
ChainWrapping:
active: true
autoCorrect: true
Expand Down Expand Up @@ -501,6 +511,8 @@ potential-bugs:

style:
active: true
ClassOrdering:
active: true
CollapsibleIfStatements:
active: false
DataClassContainsFunctions:
Expand Down

0 comments on commit fed52c6

Please sign in to comment.