4549282cba
This PR replaces ReplicationFactor with ReplicationFactorMax and ReplicationFactor min. This allows a CID to be pinned even though the desired replication factor (max) is not reached, and prevents triggering re-pinnings when the replication factor has not crossed the lower threshold (min). License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
32 lines
423 B
YAML
32 lines
423 B
YAML
ratings:
|
|
paths:
|
|
- "**/*.go"
|
|
|
|
checks:
|
|
file-lines:
|
|
config:
|
|
threshold: 500
|
|
method-complexity:
|
|
config:
|
|
threshold: 12
|
|
method-lines:
|
|
config:
|
|
threshold: 60
|
|
similar-code:
|
|
enabled: false
|
|
|
|
engines:
|
|
fixme:
|
|
enabled: true
|
|
config:
|
|
strings:
|
|
- FIXME
|
|
- HACK
|
|
- XXX
|
|
- BUG
|
|
golint:
|
|
enabled: true
|
|
govet:
|
|
enabled: true
|
|
gofmt:
|
|
enabled: true |