mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-10 02:46:54 -04:00
fix detekt rules
This commit is contained in:
@@ -37,6 +37,10 @@ android {
|
|||||||
testOptions {
|
testOptions {
|
||||||
unitTests.returnDefaultValues = true
|
unitTests.returnDefaultValues = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lintOptions {
|
||||||
|
abortOnError false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ console-reports:
|
|||||||
# - 'BuildFailureReport'
|
# - 'BuildFailureReport'
|
||||||
|
|
||||||
comments:
|
comments:
|
||||||
|
excludes: "**/*Test.kt, **/*Spec.kt"
|
||||||
active: true
|
active: true
|
||||||
CommentOverPrivateFunction:
|
CommentOverPrivateFunction:
|
||||||
active: true
|
active: true
|
||||||
@@ -265,6 +266,7 @@ naming:
|
|||||||
active: true
|
active: true
|
||||||
functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$'
|
functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$'
|
||||||
excludeClassPattern: '$^'
|
excludeClassPattern: '$^'
|
||||||
|
excludes: "**/*Test.kt, **/*Spec.kt"
|
||||||
MatchingDeclarationName:
|
MatchingDeclarationName:
|
||||||
active: false
|
active: false
|
||||||
MemberNameEqualsClassName:
|
MemberNameEqualsClassName:
|
||||||
@@ -368,6 +370,7 @@ style:
|
|||||||
ignoreAnnotation: false
|
ignoreAnnotation: false
|
||||||
ignoreNamedArgument: true
|
ignoreNamedArgument: true
|
||||||
ignoreEnums: true
|
ignoreEnums: true
|
||||||
|
excludes: "**/*Test.kt, **/*Spec.kt"
|
||||||
MandatoryBracesIfStatements:
|
MandatoryBracesIfStatements:
|
||||||
active: true
|
active: true
|
||||||
MaxLineLength:
|
MaxLineLength:
|
||||||
|
|||||||
Reference in New Issue
Block a user