Skip to content

Commit 5a28742

Browse files
authored
docs: add missing linters (#2841)
1 parent d5201ad commit 5a28742

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.golangci.example.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,6 @@ linters-settings:
800800
- lostcancel
801801
- nilfunc
802802
- nilness
803-
- nonamedreturns
804803
- printf
805804
- reflectvaluecompare
806805
- shadow
@@ -844,7 +843,6 @@ linters-settings:
844843
- lostcancel
845844
- nilfunc
846845
- nilness
847-
- nonamedreturns
848846
- printf
849847
- reflectvaluecompare
850848
- shadow
@@ -1635,18 +1633,23 @@ linters:
16351633
- asciicheck
16361634
- bidichk
16371635
- bodyclose
1636+
- containedctx
16381637
- contextcheck
16391638
- cyclop
16401639
- deadcode
1640+
- decorder
16411641
- depguard
16421642
- dogsled
16431643
- dupl
16441644
- durationcheck
16451645
- errcheck
1646+
- errchkjson
16461647
- errname
16471648
- errorlint
1649+
- execinquery
16481650
- exhaustive
16491651
- exhaustivestruct
1652+
- exhaustruct
16501653
- exportloopref
16511654
- forbidigo
16521655
- forcetypeassert
@@ -1673,12 +1676,14 @@ linters:
16731676
- gosec
16741677
- gosimple
16751678
- govet
1679+
- grouper
16761680
- ifshort
16771681
- importas
16781682
- ineffassign
16791683
- interfacer
16801684
- ireturn
16811685
- lll
1686+
- maintidx
16821687
- makezero
16831688
- maligned
16841689
- misspell
@@ -1689,6 +1694,7 @@ linters:
16891694
- nlreturn
16901695
- noctx
16911696
- nolintlint
1697+
- nonamedreturns
16921698
- nosprintfhostport
16931699
- paralleltest
16941700
- prealloc
@@ -1726,18 +1732,23 @@ linters:
17261732
- asciicheck
17271733
- bidichk
17281734
- bodyclose
1735+
- containedctx
17291736
- contextcheck
17301737
- cyclop
17311738
- deadcode
1739+
- decorder
17321740
- depguard
17331741
- dogsled
17341742
- dupl
17351743
- durationcheck
17361744
- errcheck
1745+
- errchkjson
17371746
- errname
17381747
- errorlint
1748+
- execinquery
17391749
- exhaustive
17401750
- exhaustivestruct
1751+
- exhaustruct
17411752
- exportloopref
17421753
- forbidigo
17431754
- forcetypeassert
@@ -1764,12 +1775,14 @@ linters:
17641775
- gosec
17651776
- gosimple
17661777
- govet
1778+
- grouper
17671779
- ifshort
17681780
- importas
17691781
- ineffassign
17701782
- interfacer
17711783
- ireturn
17721784
- lll
1785+
- maintidx
17731786
- makezero
17741787
- maligned
17751788
- misspell
@@ -1780,6 +1793,7 @@ linters:
17801793
- nlreturn
17811794
- noctx
17821795
- nolintlint
1796+
- nonamedreturns
17831797
- nosprintfhostport
17841798
- paralleltest
17851799
- prealloc

0 commit comments

Comments
 (0)