Skip to content

Commit 2c7733e

Browse files
fix: sync golangci-lint config (#573)
chore(ci): sync golangci-lint config Co-authored-by: caarlos0 <[email protected]>
1 parent 90220f7 commit 2c7733e

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.golangci-soft.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
run:
22
tests: false
3+
issues-exit-code: 0
34

45
issues:
56
include:
@@ -14,34 +15,26 @@ issues:
1415

1516
linters:
1617
enable:
17-
# - dupl
1818
- exhaustive
19-
# - exhaustivestruct
2019
- goconst
21-
# - godot
20+
- godot
2221
- godox
23-
- gomnd
22+
- mnd
2423
- gomoddirectives
2524
- goprintffuncname
26-
# - ifshort
27-
# - lll
2825
- misspell
2926
- nakedret
3027
- nestif
3128
- noctx
3229
- nolintlint
3330
- prealloc
34-
# - wrapcheck
31+
- wrapcheck
3532

3633
# disable default linters, they are already enabled in .golangci.yml
3734
disable:
38-
- deadcode
3935
- errcheck
4036
- gosimple
4137
- govet
4238
- ineffassign
4339
- staticcheck
44-
- structcheck
45-
- typecheck
4640
- unused
47-
- varcheck

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ issues:
1515
linters:
1616
enable:
1717
- bodyclose
18+
- gofumpt
1819
- goimports
1920
- gosec
2021
- nilerr
21-
- predeclared
2222
- revive
2323
- rowserrcheck
2424
- sqlclosecheck

0 commit comments

Comments
 (0)