Skip to content

Commit

Permalink
change: Update Detekt config. Disable LongParametersList and NestedBl…
Browse files Browse the repository at this point in the history
…ockDepth TooManyFunctions (#254)
  • Loading branch information
mateuszkwiecinski authored Jun 6, 2021
1 parent 3ac798b commit e507a5a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Change


## [0.28.1] - 2021-06-06
## Changed
- Update _Detekt_ config. Disable `LongParametersList`, `NestedBlockDepth` and `TooManyFunctions`

## [0.28.0] - 2021-06-05
## Changed
- Update Kotlin plugin to [1.5.10](https://github.com/JetBrains/kotlin/releases/tag/v1.5.10)
- Update _Detekt_ to version _1.17.1_ see [release notes](https://github.com/detekt/detekt/releases/tag/v1.17.1)

## [0.27.2] - 2021-05-05
Expand Down Expand Up @@ -238,8 +246,12 @@ The new feature is available as automatically registered gradle task, but also c
- Add Quality Plugin - `com.starter.quality`

[Unreleased]: https://github.com/usefulness/project-starter/compare/release/0.23.0...HEAD
[0.29.0]: https://github.com/usefulness/project-starter/compare/release/0.28.0.../release/0.29.0
[0.30.0]: https://github.com/usefulness/project-starter/compare/release/0.29.0.../release/0.30.0
[0.29.0]: https://github.com/usefulness/project-starter/compare/release/0.28.1.../release/0.29.0
[0.28.1]: https://github.com/usefulness/project-starter/compare/release/0.28.0.../release/0.28.1
[0.28.0]: https://github.com/usefulness/project-starter/compare/release/0.27.0.../release/0.28.0
[0.27.2]: https://github.com/usefulness/project-starter/compare/release/0.27.1.../release/0.27.2
[0.27.1]: https://github.com/usefulness/project-starter/compare/release/0.27.0.../release/0.27.1
[0.27.0]: https://github.com/usefulness/project-starter/compare/release/0.26.3.../release/0.27.0
[0.26.3]: https://github.com/usefulness/project-starter/compare/release/0.26.2.../release/0.26.3
[0.26.2]: https://github.com/usefulness/project-starter/compare/release/0.26.1.../release/0.26.2
Expand Down
6 changes: 3 additions & 3 deletions quality/src/main/resources/detekt-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ complexity:
active: true
threshold: 60
LongParameterList:
active: true
active: false
functionThreshold: 6
constructorThreshold: 7
ignoreDefaultParameters: true
Expand All @@ -113,7 +113,7 @@ complexity:
active: false
threshold: 3
NestedBlockDepth:
active: true
active: false
threshold: 4
ReplaceSafeCallChainWithRun:
active: false
Expand All @@ -125,7 +125,7 @@ complexity:
excludeStringsWithLessThan5Characters: true
ignoreStringsRegex: '$^'
TooManyFunctions:
active: true
active: false
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
thresholdInFiles: 11
thresholdInClasses: 11
Expand Down

0 comments on commit e507a5a

Please sign in to comment.