Skip to content

Commit

Permalink
change detekt rules config file (Draegerwerk#201)
Browse files Browse the repository at this point in the history
disable some rules and change some limits to reduce the amount of
non-issues being reported as issues by detekt

# Checklist

The following aspects have been respected by the author of this pull
request, confirmed by both pull request assignee **and** reviewer:

* Adherence to coding conventions
  * [x] Pull Request Assignee
  * [x] Reviewer
* Adherence to javadoc conventions
  * [x] Pull Request Assignee
  * [x] Reviewer
* Changelog update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer
* README update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer
* config update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer
* SDCcc executable ran against a test device (if necessary)
  * [x] Pull Request Assignee
  * [x] Reviewer
  • Loading branch information
maximilianpilz authored Aug 23, 2024
1 parent fc76a3b commit 7c9bf04
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev_config/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ complexity:
threshold: 6
ComplexInterface:
active: true
CyclomaticComplexMethod:
threshold: 20
LongMethod:
active: false
MethodOverloading:
active: true
NamedArguments:
active: true
NestedBlockDepth:
threshold: 6
active: false
ReplaceSafeCallChainWithRun:
active: true
StringLiteralDuplication:
Expand Down Expand Up @@ -152,8 +156,6 @@ style:
max: 3
SpacingBetweenPackageAndImports:
active: true
StringShouldBeRawString:
active: true
TrailingWhitespace:
active: true
TrimMultilineRawString:
Expand Down

0 comments on commit 7c9bf04

Please sign in to comment.