chore(MP-28): add arch guards, bundle budgets & detekt consolidation
Summary - Detekt Config zentralisiert (`config/detekt/detekt.yml`), alte Config gelöscht. - Gradle Task `archGuardNoFeatureToFeatureDeps`: Verbietet Abhängigkeiten zwischen Feature-Modulen. - Gradle Task `checkBundleBudget`: Prüft JS-Bundle-Größen gegen `config/bundles/budgets.json`. - CI Integration: Budgets werden nach dem Build geprüft. Verification - `./gradlew archGuards` -> SUCCESS - `./gradlew checkBundleBudget` -> SUCCESS - CI Pipeline -> SUCCESS Ref: MP-28
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
build:
|
||||
maxIssues: 0
|
||||
excludeCorrectable: false
|
||||
|
||||
config:
|
||||
validation: true
|
||||
warningsAsErrors: false
|
||||
|
||||
processors:
|
||||
active: true
|
||||
|
||||
console-reports:
|
||||
active: true
|
||||
exclude:
|
||||
- 'ProjectStatisticsReport'
|
||||
- 'ComplexityReport'
|
||||
- 'NotificationReport'
|
||||
|
||||
comments:
|
||||
active: true
|
||||
AbsentOrWrongFileLicense:
|
||||
active: false
|
||||
|
||||
style:
|
||||
active: true
|
||||
MagicNumber:
|
||||
active: false
|
||||
WildcardImport:
|
||||
active: false
|
||||
MaxLineLength:
|
||||
active: true
|
||||
maxLineLength: 140
|
||||
UnusedImports:
|
||||
active: true
|
||||
|
||||
complexity:
|
||||
active: true
|
||||
LongMethod:
|
||||
active: true
|
||||
threshold: 80
|
||||
TooManyFunctions:
|
||||
active: true
|
||||
thresholdInClasses: 30
|
||||
|
||||
performance:
|
||||
active: true
|
||||
|
||||
potential-bugs:
|
||||
active: true
|
||||
|
||||
exceptions:
|
||||
active: true
|
||||
Reference in New Issue
Block a user