docs: add rowsercheck into .golangci.example.yml after

This commit is contained in:
Denis Isaev 2020-01-08 14:13:01 +03:00
parent e93138f00f
commit 77dabb3d74
No known key found for this signature in database
GPG Key ID: A36A0EC8E27A1A01
2 changed files with 6 additions and 0 deletions

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

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