Skip to content

Commit c852a6c

Browse files
authored
Update golangci-lint configuration (#121)
1 parent 92aa87a commit c852a6c

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.golangci.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ linters:
1818
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
1919
disable-all: true
2020
enable:
21-
# default linters:
2221
- deadcode
2322
- errcheck
2423
- gosimple
@@ -29,8 +28,6 @@ linters:
2928
- typecheck
3029
- unused
3130
- varcheck
32-
# linters disabled by default:
33-
- asciicheck
3431
- bodyclose
3532
- depguard
3633
- dogsled
@@ -44,40 +41,28 @@ linters:
4441
- gocritic
4542
- gocyclo
4643
- godot
47-
- godox
48-
- goerr113
4944
- gofmt
5045
- gofumpt
5146
- goimports
5247
- golint
5348
- gomnd
54-
- gomodguard
5549
- goprintffuncname
5650
- gosec
57-
- interfacer
5851
- lll
59-
- maligned
6052
- misspell
6153
- nakedret
62-
- nestif
6354
- noctx
6455
- nolintlint
65-
- prealloc
6656
- rowserrcheck
67-
- scopelint
6857
- sqlclosecheck
6958
- stylecheck
7059
- unconvert
7160
- unparam
7261
- whitespace
73-
- wsl
74-
- exhaustivestruct
7562
- errorlint
7663
- tparallel
7764
- wrapcheck
78-
# don't enable:
79-
# - go-header
80-
# - testpackage
65+
# - godox
8166

8267
issues:
8368
# enable issues excluded by default

0 commit comments

Comments
 (0)