-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
33 lines (29 loc) · 1.11 KB
/
.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
# output configuration options
output:
# sorts results by: filepath, line, and column
sort-results: true
linters:
enable-all: true
disable:
- dogsled
- exhaustivestruct
- funlen
- godox
- golint # The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
- interfacer # The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner.
- maligned # The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'.
- nlreturn
- paralleltest
- scopelint # The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref.
- thelper
- wrapcheck
- wsl
linters-settings:
gci:
local-prefixes: github.com/go-toolbelt/mirror
goimports:
local-prefixes: github.com/go-toolbelt/mirror
revive:
rules:
- name: if-return
disabled: true