Skip to content

Commit 316ed3e

Browse files
committed
linter config
1 parent 5030b5d commit 316ed3e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.golangci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ linters:
1313
- errcheck
1414
- errname
1515
- errorlint
16-
- exportloopref
16+
- copyloopvar
1717
- gochecknoinits
1818
- goconst
1919
- gocritic
@@ -53,7 +53,6 @@ linters:
5353
- funlen
5454
- gocognit
5555
- gofumpt
56-
- ifshort
5756
- nestif
5857
- nolintlint
5958
- revive
@@ -64,7 +63,6 @@ linters:
6463

6564
# Disabled with a reason
6665
- gochecknoglobals # incompatible with the way we define our flags currently
67-
- maligned # checker not supported anymore
6866
- noctx # disabled because we do not plan to distribute this code as a library
6967
- prealloc # we are not after some perf
70-
- tagliatelle # disabled because we are dependant on external API that do not follow the right naming
68+
- tagliatelle # disabled because we are dependent on external API that do not follow the right naming

0 commit comments

Comments
 (0)