mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
49 lines
788 B
YAML
49 lines
788 B
YAML
linters-settings:
|
|
govet:
|
|
check-shadowing: true
|
|
dupl:
|
|
threshold: 100
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
cyclop:
|
|
max-complexity: 27
|
|
gocognit:
|
|
min-complexity: 50
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/clastix/capsule)
|
|
goheader:
|
|
template: |-
|
|
Copyright 2020-2021 Clastix Labs
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
linters:
|
|
enable-all: true
|
|
disable:
|
|
- funlen
|
|
- gochecknoinits
|
|
- lll
|
|
- exhaustivestruct
|
|
- maligned
|
|
- interfacer
|
|
- scopelint
|
|
- golint
|
|
- gochecknoglobals
|
|
- goerr113
|
|
- gomnd
|
|
- paralleltest
|
|
- ireturn
|
|
- testpackage
|
|
- varnamelen
|
|
- wrapcheck
|
|
|
|
service:
|
|
golangci-lint-version: 1.45.2
|
|
|
|
run:
|
|
skip-files:
|
|
- "zz_.*\\.go$"
|