-
Notifications
You must be signed in to change notification settings - Fork 37
/
.golangci.yml
53 lines (50 loc) · 1.04 KB
/
.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
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
issues:
max-per-linter: 0
max-same-issues: 0
exclude-rules:
- path: configtesting
linters:
- goconst
- linters:
- staticcheck
text: "SA1019: aws.Endpoint is deprecated"
- linters:
- staticcheck
text: "SA1019: aws.EndpointResolverWithOptions is deprecated"
- linters:
- staticcheck
text: "SA1019: aws.EndpointResolverWithOptionsFunc is deprecated"
- linters:
- staticcheck
text: "SA1019: config.WithEndpointResolverWithOptions is deprecated"
linters:
disable-all: true
enable:
- dogsled
- errcheck
- errname
- exportloopref
- goconst
- gofmt
- gosimple
- govet
- ineffassign
- misspell
- mnd
- staticcheck
- tenv
- unconvert
- unparam
- unused
- typecheck
- whitespace
linters-settings:
goconst:
ignore-tests: true
mnd:
ignored-functions:
- strings.SplitN
- strings.SplitAfterN
- os.MkdirAll