forked from REQUEA/bacnet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.golangci.yaml
44 lines (41 loc) · 952 Bytes
/
.golangci.yaml
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
run:
skip-dirs:
- main
issues:
# List of regexps of issue texts to exclude, empty list by default.
# But independently from this option we use default exclude patterns,
# it can be disabled by `exclude-use-default: false`. To list all
# excluded by default patterns execute `golangci-lint run --help`
exclude:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
linters:
enable:
- bodyclose
- asciicheck
- dupl
- exportloopref
- rowserrcheck
- exportloopref
- sqlclosecheck
- unconvert
- durationcheck
- errorlint
- goconst
- goimports
- revive
- gosec
- misspell
- nilerr
- nolintlint
- prealloc
- stylecheck
- thelper
- wastedassign