From 77dabb3d74b1c06539f82816c8f94b6467f88057 Mon Sep 17 00:00:00 2001 From: Denis Isaev Date: Wed, 8 Jan 2020 14:13:01 +0300 Subject: [PATCH] docs: add rowsercheck into .golangci.example.yml after #849 --- .golangci.example.yml | 3 +++ README.md | 3 +++ 2 files changed, 6 insertions(+) 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: