Skip to content

Commit

Permalink
Fix yml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Dec 1, 2023
1 parent a036c49 commit 5cc3fe2
Showing 1 changed file with 141 additions and 20 deletions.
161 changes: 141 additions & 20 deletions android/config/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ processors:
console-reports:
active: true
exclude:
- 'ProjectStatisticsReport'
- 'ComplexityReport'
- 'NotificationReport'
- 'FindingsReport'
- 'FileBasedFindingsReport'
- 'ProjectStatisticsReport'
- 'ComplexityReport'
- 'NotificationReport'
- 'FindingsReport'
- 'FileBasedFindingsReport'
# - 'LiteFindingsReport'

Check warning on line 42 in android/config/detekt.yml

View workflow job for this annotation

GitHub Actions / check-formatting

42:3 [comments-indentation] comment not indented like content

output-reports:
Expand Down Expand Up @@ -67,27 +67,59 @@ comments:
endOfSentenceFormat: '([.?!][ \t\n\r\f<])|([.?!:]$)'
KDocReferencesNonPublicProperty:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**

Check failure on line 71 in android/config/detekt.yml

View workflow job for this annotation

GitHub Actions / check-formatting

71:10 syntax error: expected alphabetic or numeric character, but found '*' (syntax)
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
OutdatedDocumentation:
active: false
matchTypeParameters: true
matchDeclarationsOrder: true
allowParamOnConstructorProperties: false
UndocumentedPublicClass:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
searchInNestedClass: true
searchInInnerClass: true
searchInInnerObject: true
searchInInnerInterface: true
searchInProtectedClass: false
UndocumentedPublicFunction:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
searchProtectedFunction: false
UndocumentedPublicProperty:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
searchProtectedProperty: false

complexity:
Expand Down Expand Up @@ -159,14 +191,30 @@ complexity:
active: false
StringLiteralDuplication:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
threshold: 3
ignoreAnnotation: true
excludeStringsWithLessThan5Characters: true
ignoreStringsRegex: '$^'
TooManyFunctions:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
thresholdInFiles: 11
thresholdInClasses: 11
thresholdInInterfaces: 11
Expand Down Expand Up @@ -243,7 +291,15 @@ exceptions:
- 'toString'
InstanceOfCheckForException:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
NotImplementedDeclaration:
active: false
ObjectExtendsThrowable:
Expand All @@ -269,7 +325,15 @@ exceptions:
active: false
ThrowingExceptionsWithoutMessageOrCause:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
exceptions:
- 'ArrayIndexOutOfBoundsException'
- 'Exception'
Expand All @@ -284,7 +348,15 @@ exceptions:
active: true
TooGenericExceptionCaught:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
exceptionNames:
- 'ArrayIndexOutOfBoundsException'
- 'Error'
Expand Down Expand Up @@ -330,7 +402,15 @@ naming:
minimumFunctionNameLength: 3
FunctionNaming:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
functionPattern: '[a-z][a-zA-Z0-9]*'
excludeClassPattern: '$^'
ignoreAnnotated: ['Composable']
Expand Down Expand Up @@ -389,10 +469,26 @@ performance:
threshold: 3
ForEachOnRange:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
SpreadOperator:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
UnnecessaryPartOfBinaryExpression:
active: false
UnnecessaryTemporaryInstantiation:
Expand Down Expand Up @@ -465,7 +561,15 @@ potential-bugs:
active: true
LateinitUsage:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
ignoreOnClassesPattern: ''
MapGetWithNotNullAssertionOperator:
active: true
Expand All @@ -492,7 +596,15 @@ potential-bugs:
active: true
UnsafeCallOnNullableType:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
UnsafeCast:
active: true
UnusedUnaryOperator:
Expand Down Expand Up @@ -609,7 +721,16 @@ style:
maxJumpCount: 1
MagicNumber:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts']
excludes:
- **/test/**
- **/androidTest/**
- **/commonTest/**
- **/jvmTest/**
- **/androidUnitTest/**
- **/androidInstrumentedTest/**
- **/jsTest/**
- **/iosTest/**
- **/*.kts
ignoreNumbers:
- '-1'
- '0'
Expand Down

0 comments on commit 5cc3fe2

Please sign in to comment.