Skip to content

Commit 77dabb3

Browse files
committed
docs: add rowsercheck into .golangci.example.yml after #849
1 parent e93138f commit 77dabb3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.golangci.example.yml

+3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ linters-settings:
154154
line-length: 120
155155
# tab width in spaces. Default to 1.
156156
tab-width: 1
157+
rowserrcheck:
158+
packages:
159+
- github.com/jmoiron/sqlx
157160
unused:
158161
# treat code as a program (not a library) and report unused exported identifiers; default is false.
159162
# XXX: if you enable this setting, unused will report a lot of false-positives in text editors:

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,9 @@ linters-settings:
760760
line-length: 120
761761
# tab width in spaces. Default to 1.
762762
tab-width: 1
763+
rowserrcheck:
764+
packages:
765+
- github.com/jmoiron/sqlx
763766
unused:
764767
# treat code as a program (not a library) and report unused exported identifiers; default is false.
765768
# XXX: if you enable this setting, unused will report a lot of false-positives in text editors:

0 commit comments

Comments
 (0)