mirror of
https://github.com/FossifyOrg/Phone.git
synced 2025-12-23 16:07:46 -05:00
* chore: bump target SDK version to 35 * chore: bump target SDK version to 36 * refactor: update edge-to-edge implementation * refactor: update edge-to-edge implementation * refactor: update edge-to-edge implementation * refactor: migrate away from deprecated onBackPressed() * fix: migrate away from deprecated `onBackPressed()` * chore(deps): update org.fossify.commons to 5.5.0 * docs: update changelog * build: bump detekt return count limit * chore: update lint baselines
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
build:
|
|
maxIssues: 0
|
|
weights:
|
|
complexity: 2
|
|
LongParameterList: 2
|
|
style: 1
|
|
|
|
processors:
|
|
active: true
|
|
exclude:
|
|
- "FunctionCountProcessor"
|
|
- "PropertyCountProcessor"
|
|
|
|
config:
|
|
validation: true
|
|
|
|
complexity:
|
|
LongParameterList:
|
|
active: true
|
|
functionThreshold: 10
|
|
constructorThreshold: 8
|
|
ignoreDefaultParameters: true
|
|
ignoreAnnotated:
|
|
- "Composable"
|
|
LongMethod:
|
|
active: true
|
|
threshold: 120
|
|
ignoreAnnotated:
|
|
- "Composable"
|
|
- "Preview"
|
|
|
|
style:
|
|
MagicNumber:
|
|
active: true
|
|
ignoreAnnotated: ["Composable"]
|
|
ignoreEnums: true
|
|
ignoreNumbers: ["-1", "0", "1", "2", "42", "1000"]
|
|
MaxLineLength:
|
|
active: true
|
|
maxLineLength: 120
|
|
excludePackageStatements: true
|
|
excludeImportStatements: true
|
|
ReturnCount:
|
|
active: true
|
|
max: 4
|
|
excludeGuardClauses: true
|
|
excludes: ["**/test/**", "**/androidTest/**"]
|
|
|
|
naming:
|
|
FunctionNaming:
|
|
active: true
|
|
ignoreAnnotated: ["Composable", "Preview"]
|
|
functionPattern: "[a-z][A-Za-z0-9]*"
|
|
|
|
Compose: # io.nlopez.compose.rules
|
|
ComposableParametersOrdering:
|
|
active: true
|
|
ModifierDefaultValue:
|
|
active: true
|
|
MissingModifierDefaultValue:
|
|
active: true
|
|
PublicComposablePreview:
|
|
active: true
|