diff --git a/.golangci.example.yml b/.golangci.example.yml index 222d46ac..d9af6449 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -154,6 +154,9 @@ linters-settings: line-length: 120 # tab width in spaces. Default to 1. tab-width: 1 + rowserrcheck: + packages: + - github.com/jmoiron/sqlx unused: # 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: diff --git a/README.md b/README.md index e424f204..cfaff146 100644 --- a/README.md +++ b/README.md @@ -760,6 +760,9 @@ linters-settings: line-length: 120 # tab width in spaces. Default to 1. tab-width: 1 + rowserrcheck: + packages: + - github.com/jmoiron/sqlx unused: # 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: