mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Updated detekt configuration:
- Removed 'Preview' from `ignoreAnnotatedFunctions` in Complexity rule set. 'not supported in this version' - Updated `constantPattern` to `[A-Z][_A-Z0-9]*` for TopLevelPropertyNaming rule. - Added 'Preview' to `ignoreAnnotated` in UnusedPrivateMember rule set.
This commit is contained in:
parent
29fdbc1913
commit
c11f8561db
@ -106,7 +106,6 @@ complexity:
|
||||
ignoreDeprecated: false
|
||||
ignorePrivate: false
|
||||
ignoreOverridden: false
|
||||
ignoreAnnotatedFunctions: ['Preview']
|
||||
|
||||
coroutines:
|
||||
active: true
|
||||
@ -262,7 +261,7 @@ naming:
|
||||
TopLevelPropertyNaming:
|
||||
active: true
|
||||
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
|
||||
constantPattern: '[A-Z][A-Za-z0-9]*'
|
||||
constantPattern: '[A-Z][_A-Z0-9]*'
|
||||
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
|
||||
privatePropertyPattern: '_?[A-Za-z][_A-Za-z0-9]*'
|
||||
VariableMaxLength:
|
||||
@ -476,6 +475,7 @@ style:
|
||||
UnusedPrivateMember:
|
||||
active: false
|
||||
allowedNames: "(_|ignored|expected|serialVersionUID)"
|
||||
ignoreAnnotated: ['Preview']
|
||||
UseArrayLiteralsInAnnotations:
|
||||
active: false
|
||||
UseCheckOrError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user