-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
34 lines (31 loc) · 780 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
issues:
exclude-rules:
# Exclude issues bypassing staticcheck.conf
- linters:
- staticcheck
text: "SA1019:"
max-per-linter: 0
max-same-issues: 0
linters:
disable-all: true
enable:
- errcheck
- gofmt
- gosimple
- ineffassign
- misspell
- staticcheck
- unconvert
- unused
- vet
linters-settings:
errcheck:
exclude-functions: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
run:
modules-download-mode: vendor
timeout: 60m
# The default concurrency value is the number of available CPU.
concurrency: 2
# Allow multiple parallel golangci-lint instances running.
# If false (default) - golangci-lint acquires file lock on start.
allow-parallel-runners: true