forked from ansible/terraform-provider-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
39 lines (38 loc) · 889 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
linters:
enable-all: true
disable:
# Abandoned, replaced by `unused`.
- deadcode
# Checks if package imports are in a list of acceptable packages.
- depguard
# Forces to handle more cases.
- exhaustivestruct # Deprecated, replaced by check below.
- exhaustruct
# Drop-in replacement of `golint`.
- revive
- golint
# Deprecated.
- ifshort
- interfacer
# Deprecated. Use govet `fieldalignment`.
- maligned
# Deprecated. Replaced by `revive`.
- nosnakecase
- scopelint
- structcheck
- varcheck
# Imports order
- gci
- funlen
# Tool for code clone detection.
- dupl
- rowserrcheck
- sqlclosecheck
# Finds wasted assignment statements.
- wastedassign
# Deeply nested if statements.
- nestif
# Same as `cyclop` linter.
- gocognit
- gocyclo
- cyclop