Skip to content

Commit

Permalink
chore: update detekt rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhugods committed Apr 2, 2024
1 parent 5a5d765 commit c0eb0e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions config/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ formatting:
AnnotationOnSeparateLine:
active: false
autoCorrect: true
ArgumentListWrapping:
active: true
maxLineLength: 140
ChainWrapping:
active: false
autoCorrect: true
Expand All @@ -245,7 +248,6 @@ formatting:
active: false
autoCorrect: true
indentSize: 4
continuationIndentSize: 4
MaximumLineLength:
active: true
maxLineLength: 140
Expand Down Expand Up @@ -297,6 +299,7 @@ formatting:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 140
SpacingAroundColon:
active: true
autoCorrect: true
Expand Down Expand Up @@ -440,7 +443,7 @@ potential-bugs:
LateinitUsage:
active: false
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
excludeAnnotatedProperties: [ ]
ignoreAnnotated: [ ]
ignoreOnClassesPattern: ''
MapGetWithNotNullAssertionOperator:
active: false
Expand Down Expand Up @@ -504,7 +507,7 @@ style:
active: true
ignoreOverridableFunction: true
excludedFunctions: ['describeContents', 'empty']
excludeAnnotatedFunction: [ 'dagger.Provides' ]
ignoreAnnotated: [ 'dagger.Provides' ]
LoopWithTooManyJumpStatements:
active: true
maxJumpCount: 1
Expand Down Expand Up @@ -572,10 +575,10 @@ style:
active: false
UnderscoresInNumericLiterals:
active: false
acceptableDecimalLength: 5
acceptableLength: 5
UnnecessaryAbstractClass:
active: true
excludeAnnotatedClasses: [ 'dagger.Module' ]
ignoreAnnotated: [ 'dagger.Module' ]
UnnecessaryAnnotationUseSiteTarget:
active: false
UnnecessaryApply:
Expand All @@ -601,7 +604,7 @@ style:
active: false
UseDataClass:
active: false
excludeAnnotatedClasses: [ ]
ignoreAnnotated: [ ]
allowVars: false
UseIfInsteadOfWhen:
active: false
Expand Down
2 changes: 1 addition & 1 deletion kalium
Submodule kalium updated 2 files
+2,646 −471 detekt/baseline.xml
+4 −0 detekt/detekt.yml

0 comments on commit c0eb0e9

Please sign in to comment.