-
Notifications
You must be signed in to change notification settings - Fork 19
/
.golangci.yml
36 lines (34 loc) · 762 Bytes
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/clastix/cluster-api-control-plane-provider-kamaji)
goheader:
template: |-
Copyright 2023 Clastix Labs
SPDX-License-Identifier: Apache-2.0
issues:
max-issues-per-linter: 0
linters:
disable:
- paralleltest
- testpackage
- gomoddirectives
- lll
- depguard
- exhaustruct
- gochecknoglobals # Operator-SDK test suite is based on global variables
- gochecknoinits # Operator-SDK is based on init functions
# deprecated linters
- scopelint
- exhaustivestruct
- deadcode
- golint
- interfacer
- structcheck
- varcheck
- nosnakecase
- ifshort
- maligned
enable-all: true