-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
36 lines (36 loc) · 1.45 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
# Options for analysis running.
run:
# See the dedicated "run" documentation section.
option: value
# output configuration options
output:
# See the dedicated "output" documentation section.
option: value
# All available settings of specific linters.
linters-settings:
# See the dedicated "linters-settings" documentation section.
option: value
linters:
# See the dedicated "linters" documentation section.
option: value
enable-all: true
disable:
- exhaustivestruct # The owner seems to have abandoned the linter. Replaced by exhaustruct.
- scopelint # The repository of the linter has been deprecated by the owner. Replaced by exportloopref
- golint # The repository of the linter has been archived by the owner. Replaced by revive.
- maligned # The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment
- interfacer # The repository of the linter has been archived by the owner.
- varnamelen # useless in the scope of this project
- gofumpt # useless in the scope of this project
- gci # useless in the scope of this project
issues:
# See the dedicated "issues" documentation section.
option: value
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules: # Exclude `lll` issues for long lines with `go:generate`.
- path: internal/oapi/
linters:
- lll
severity:
# See the dedicated "severity" documentation section.
option: value