diff options
Diffstat (limited to '.golangci.yaml')
| -rw-r--r-- | .golangci.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.golangci.yaml b/.golangci.yaml index 995ee5a..286a9a5 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -32,6 +32,8 @@ linters: - prealloc - predeclared - reassign + - revive + - rowserrcheck - unconvert - usestdlibvars - usetesting @@ -71,6 +73,12 @@ linters: go-version-pattern: 1\.\d+(\.0)?$ nolintlint: require-specific: true + revive: + rules: + - name: exported + arguments: + - checkPrivateReceivers + - disableChecksOnConstants staticcheck: dot-import-whitelist: - github.com/majewsky/gg/option |
