-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.golangci.yaml
More file actions
36 lines (33 loc) · 815 Bytes
/
.golangci.yaml
File metadata and controls
36 lines (33 loc) · 815 Bytes
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
version: "2"
run:
concurrency: 4
go: "1.25.5"
issues-exit-code: 1
tests: true
allow-parallel-runners: true
allow-serial-runners: true
output:
formats:
text:
path: stdout
print-linter-name: true
print-issued-lines: true
sort-order:
- linter
- severity
- file
linters:
# Default set of linters.
# The value can be:
# - `standard`: https://golangci-lint.run/usage/linters/#enabled-by-default
# - `all`: enables all linters by default.
# - `none`: disables all linters by default.
# - `fast`: enables only linters considered as "fast" (`golangci-lint help linters --json | jq '[ .[] | select(.fast==true) ] | map(.name)'`).
default: standard
settings:
staticcheck:
checks:
- all
- -QF1008
- -ST1000
- -ST1003