-
Notifications
You must be signed in to change notification settings - Fork 63
/
.golangci.yml
59 lines (55 loc) · 905 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
run:
timeout: 60m
modules-download-mode: vendor
issues:
max-per-linter: 0
max-same-issues: 0
linters:
disable-all: true
enable:
- asciicheck
- bidichk
- deadcode
- durationcheck
- errname
- errcheck
- exhaustive
- exportloopref
- gocritic
- gofmt
#- gofumpt
- goimports
- gosimple
- govet
- gosec
#- godot
- ineffassign
- ifshort
- nakedret
- nilnil
#- nolintlint
- makezero
- misspell
- staticcheck
- structcheck
#- stylecheck
- typecheck
- unused
- unconvert
- unparam
- varcheck
- vet
- vetshadow
- whitespace
#- wsl
linters-settings:
errcheck:
ignore: Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
- exportfs
nakedret:
max-func-lines: 40