forked from openshift/installer-aro-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
39 lines (36 loc) · 989 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
37
38
39
run:
timeout: 10m
skip-dirs:
- vendor/portal
- vendor
skip-dirs-use-default: true
modules-download-mode: vendor
issues:
exclude-rules:
- linters:
- staticcheck
text: "SA1019: codec.BasicHandle is deprecated"
- linters:
- staticcheck
text: "SA1019: \"github.com/Azure/azure-sdk-for-go"
# This is set to false to disregard the default EXC0011 exclusion
# which shadows all the ST* checks. Refer https://github.com/golangci/golangci-lint/issues/2281
exclude-use-default: false
linters-settings:
stylecheck:
# added additional checks for comments in Go.
# Refer https://staticcheck.io/docs/options#checks for details
checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022"]
dot-import-whitelist:
- github.com/onsi/ginkgo
- github.com/onsi/gomega
linters:
disable-all: true
enable:
- gofmt
- unused
- gosimple
- govet
- staticcheck
- whitespace
- stylecheck