mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 09:59:57 +00:00
* feat: functional appsets * feat(api): add resourcepools api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: fix gomod Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: correct webhooks Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: fix harpoon image Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: improve e2e Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: add labels to e2e test Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: fix status handling Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: fix racing conditions Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: make values compatible Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: fix custom resources test Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: correct metrics Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
88 lines
1.6 KiB
YAML
88 lines
1.6 KiB
YAML
version: "2"
|
|
run:
|
|
tests: false
|
|
allow-parallel-runners: true
|
|
linters:
|
|
default: all
|
|
disable:
|
|
- depguard
|
|
- err113
|
|
- exhaustruct
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- ireturn
|
|
- lll
|
|
- mnd
|
|
- nilnil
|
|
- nonamedreturns
|
|
- paralleltest
|
|
- perfsprint
|
|
- recvcheck
|
|
- testpackage
|
|
- unparam
|
|
- varnamelen
|
|
- wrapcheck
|
|
settings:
|
|
cyclop:
|
|
max-complexity: 27
|
|
dupl:
|
|
threshold: 100
|
|
gocognit:
|
|
min-complexity: 50
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
goheader:
|
|
template: |-
|
|
Copyright 2020-2023 Project Capsule Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
inamedparam:
|
|
skip-single-param: true
|
|
nakedret:
|
|
max-func-lines: 50
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- zz_.*\.go$
|
|
- .+\.generated.go
|
|
- .+_test.go
|
|
- .+_test_.+.go
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
rules:
|
|
- path: pkg/meta/
|
|
linters:
|
|
- dupl
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
settings:
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/projectcapsule/capsule)
|
|
gofumpt:
|
|
module-path: github.com/projectcapsule/capsule
|
|
extra-rules: false
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- zz_.*\.go$
|
|
- .+\.generated.go
|
|
- .+_test.go
|
|
- .+_test_.+.go
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|