Skip to content

Commit

Permalink
chore_: configure codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Oct 28, 2024
1 parent c740a05 commit ada6a5c
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"

0 comments on commit ada6a5c

Please sign in to comment.