chore_: configure codeclimate (#6006)

This commit is contained in:
Igor Sirotin 2024-11-22 16:08:22 +00:00 committed by GitHub
parent 5fa57c80ec
commit 474658b6b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 13 deletions

View File

@ -11,14 +11,14 @@ checks:
# Excessive lines of code within a single file
file-lines:
config:
threshold: 900
threshold: 1500
# Functions or methods that may be hard to understand. This is disabled as it doesn't appear to be a reliable metric.
method-complexity:
enabled: false
# Classes defined with a high number of functions or methods.
method-count:
config:
threshold: 21
threshold: 40
# Excessive lines of code within a single function or method
method-lines:
config:
@ -41,15 +41,4 @@ exclude_patterns:
- "vendor/"
- "static/"
- "t/"
- "mailserver/migrations"
- "**/*/bindata.go"
- "protocol/protobuf/*.pb.go"
- "protocol/communities/migrations/migrations.go"
- "protocol/encryption/migrations/migrations.go"
- "protocol/internal/sqlite/migrations.go"
- "protocol/migrations/migrations.go"
- "protocol/pushnotificationclient/migrations/migrations.go"
- "protocol/pushnotificationserver/migrations/migrations.go"
- "protocol/transport/migrations/migrations.go"
- "protocol/encryption/protocol_message.pb.go"
- "images/qr-assets.go"