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 29, 2024
1 parent 807397f commit 83b36bf
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 83b36bf

Please sign in to comment.