forked from contribsys/faktory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
28 lines (26 loc) · 883 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
linters-settings:
gocritic:
# Which checks should be enabled; can't be combined with 'disabled-checks';
# See https://go-critic.github.io/overview#checks-overview
# To check which checks are enabled run `GL_DEBUG=gocritic golangci-lint run`
# By default list of stable checks is used.
disabled-checks:
- commentedOutCode
- paramTypeCombine
- ifElseChain
- unnamedResult
# Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.
# Empty list by default. See https://github.com/go-critic/go-critic#usage -> section "Tags".
enabled-tags:
- performance
- diagnostic
- opinionated
settings: # settings passed to gocritic
rangeExprCopy:
sizeThreshold: 24
rangeValCopy:
sizeThreshold: 24
linters:
enable:
- gocritic
- gosec