mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 05:15:25 +02:00
chore(codeclimate): update .codeclimate.yml (#2212)
* chore(codeclimate): update .codeclimate.yml * chore(codeclimate): update .codeclimate.yml * chore(codeclimate): update .codeclimate.yml
This commit is contained in:
parent
8cd3964d75
commit
4b05699e66
1 changed files with 40 additions and 8 deletions
|
@ -1,5 +1,42 @@
|
||||||
---
|
version: "2"
|
||||||
engines:
|
checks:
|
||||||
|
argument-count:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 4
|
||||||
|
complex-logic:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 4
|
||||||
|
file-lines:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 300
|
||||||
|
method-complexity:
|
||||||
|
enabled: false
|
||||||
|
method-count:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 20
|
||||||
|
method-lines:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 50
|
||||||
|
nested-control-flow:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: 4
|
||||||
|
return-statements:
|
||||||
|
enabled: false
|
||||||
|
similar-code:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: #language-specific defaults. overrides affect all languages.
|
||||||
|
identical-code:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: #language-specific defaults. overrides affect all languages.
|
||||||
|
plugins:
|
||||||
gofmt:
|
gofmt:
|
||||||
enabled: true
|
enabled: true
|
||||||
golint:
|
golint:
|
||||||
|
@ -20,10 +57,5 @@ engines:
|
||||||
config: .eslintrc.yml
|
config: .eslintrc.yml
|
||||||
fixme:
|
fixme:
|
||||||
enabled: true
|
enabled: true
|
||||||
ratings:
|
exclude_patterns:
|
||||||
paths:
|
|
||||||
- "**.css"
|
|
||||||
- "**.js"
|
|
||||||
- "**.go"
|
|
||||||
exclude_paths:
|
|
||||||
- test/
|
- test/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue