forked from indentinc/terraform-provider-sendgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
43 lines (41 loc) · 1.02 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
run:
timeout: 10m
deadline: 2m
skip-dirs:
- scripts
linter-settings:
govet:
check-shadowing: true
gocyclo:
min-complexity: 12.0
maligned:
suggest-new: true
goconst:
min-len: 3.0
min-occurrences: 3.0
misspell:
locale: US
linters:
enable-all: true
disable:
- tparallel
- paralleltest
- exhaustivestruct
- forcetypeassert
- varnamelen
issues:
exclude-rules:
- path: _test\.go
text: "err113: do not define dynamic errors, use wrapped static errors instead"
- path: _test\.go
text: "error returned from external package is unwrapped"
- path: _test\.go
text: "type assertion must be checked"
- path: domain_authentication_test.go
text: "Using the variable on range scope `tt` in function literal"
- path: provider_test.go
text: "testAccProvider[s]* is a global variable"
- path: provider_test.go
text: "don't use `init` function"
- path: resource_sendgrid_api_key.go
text: "Consider preallocating `scopes`"