Browse Source

.codeclimate.yml: Update thresholds for maintainability

Signed-off-by: Niels Thykier <niels@thykier.net>
devuan-deployment
Niels Thykier 2 years ago
parent
commit
eb64347eee
No known key found for this signature in database GPG Key ID: A65B78DBE67C7AAC
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .codeclimate.yml

+ 20
- 0
.codeclimate.yml View File

@@ -0,0 +1,20 @@
version: "2" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 6
complex-logic:
config:
threshold: 9
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 9
method-count:
config:
threshold: 40
method-lines:
config:
threshold: 50

Loading…
Cancel
Save