mirror of
https://github.com/clastix/kamaji.git
synced 2026-02-14 10:00:02 +00:00
* fix: trusting public CA from k8s.io container images Signed-off-by: Dario Tranchitella <dario@tranchitella.eu> * chore(golangci-lint): timeout from configuration file Signed-off-by: Dario Tranchitella <dario@tranchitella.eu> --------- Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
54 lines
939 B
YAML
54 lines
939 B
YAML
run:
|
|
timeout: 10m
|
|
|
|
linters-settings:
|
|
revive:
|
|
rules:
|
|
- name: dot-imports
|
|
arguments:
|
|
- allowedPackages:
|
|
- "github.com/onsi/ginkgo/v2"
|
|
- "github.com/onsi/gomega"
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/clastix/kamaji/)
|
|
goheader:
|
|
template: |-
|
|
Copyright 2022 Clastix Labs
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
linters:
|
|
disable:
|
|
- depguard
|
|
- wrapcheck
|
|
- mnd
|
|
- varnamelen
|
|
- testpackage
|
|
- tagliatelle
|
|
- paralleltest
|
|
- ireturn
|
|
- err113
|
|
- gochecknoglobals
|
|
- wsl
|
|
- exhaustive
|
|
- nosprintfhostport
|
|
- nonamedreturns
|
|
- interfacebloat
|
|
- exhaustruct
|
|
- lll
|
|
- gosec
|
|
- gomoddirectives
|
|
- godox
|
|
- gochecknoinits
|
|
- funlen
|
|
- dupl
|
|
- cyclop
|
|
- gocognit
|
|
- nestif
|
|
- perfsprint
|
|
# deprecated linters
|
|
- exportloopref
|
|
enable-all: true
|