Skip to content

Commit b3ef479

Browse files
ldezSeigeC
authored andcommitted
docs: add missing linters (golangci#2841)
1 parent c040e8c commit b3ef479

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
@@ -1660,18 +1658,23 @@ linters:
16601658
- asciicheck
16611659
- bidichk
16621660
- bodyclose
1661+
- containedctx
16631662
- contextcheck
16641663
- cyclop
16651664
- deadcode
1665+
- decorder
16661666
- depguard
16671667
- dogsled
16681668
- dupl
16691669
- durationcheck
16701670
- errcheck
1671+
- errchkjson
16711672
- errname
16721673
- errorlint
1674+
- execinquery
16731675
- exhaustive
16741676
- exhaustivestruct
1677+
- exhaustruct
16751678
- exportloopref
16761679
- forbidigo
16771680
- forcetypeassert
@@ -1698,12 +1701,14 @@ linters:
16981701
- gosec
16991702
- gosimple
17001703
- govet
1704+
- grouper
17011705
- ifshort
17021706
- importas
17031707
- ineffassign
17041708
- interfacer
17051709
- ireturn
17061710
- lll
1711+
- maintidx
17071712
- makezero
17081713
- maligned
17091714
- misspell
@@ -1714,6 +1719,7 @@ linters:
17141719
- nlreturn
17151720
- noctx
17161721
- nolintlint
1722+
- nonamedreturns
17171723
- nosprintfhostport
17181724
- paralleltest
17191725
- prealloc
@@ -1751,18 +1757,23 @@ linters:
17511757
- asciicheck
17521758
- bidichk
17531759
- bodyclose
1760+
- containedctx
17541761
- contextcheck
17551762
- cyclop
17561763
- deadcode
1764+
- decorder
17571765
- depguard
17581766
- dogsled
17591767
- dupl
17601768
- durationcheck
17611769
- errcheck
1770+
- errchkjson
17621771
- errname
17631772
- errorlint
1773+
- execinquery
17641774
- exhaustive
17651775
- exhaustivestruct
1776+
- exhaustruct
17661777
- exportloopref
17671778
- forbidigo
17681779
- forcetypeassert
@@ -1789,12 +1800,14 @@ linters:
17891800
- gosec
17901801
- gosimple
17911802
- govet
1803+
- grouper
17921804
- ifshort
17931805
- importas
17941806
- ineffassign
17951807
- interfacer
17961808
- ireturn
17971809
- lll
1810+
- maintidx
17981811
- makezero
17991812
- maligned
18001813
- misspell
@@ -1805,6 +1818,7 @@ linters:
18051818
- nlreturn
18061819
- noctx
18071820
- nolintlint
1821+
- nonamedreturns
18081822
- nosprintfhostport
18091823
- paralleltest
18101824
- prealloc

0 commit comments

Comments
 (0)