version: "2"run:build-tags:- netgo- sqlite_fts5linters:enable:- asasalint- asciicheck- bidichk- bodyclose- containedctx- copyloopvar- dogsled- durationcheck- errorlint- forbidigo- gocritic- gocyclo- goprintffuncname- gosec- misspell- nakedret- nilerr- rowserrcheck- unconvert- whitespacedisable:- staticchecksettings:errcheck:exclude-functions:- (*github.com/zeebo/xxh3.Hasher).Writegocritic:disable-all: trueenabled-checks:- deprecatedCommentgosec:excludes:- G501- G401- G505- G115forbidigo:forbid:- pattern: 'tx\.Exec$'msg: "use tx.ExecContext(ctx, ...) in migrations to propagate context"- pattern: 'tx\.Query$'msg: "use tx.QueryContext(ctx, ...) in migrations to propagate context"- pattern: 'tx\.QueryRow$'msg: "use tx.QueryRowContext(ctx, ...) in migrations to propagate context"govet:enable:- nilnessexclusions:rules:- linters:- gosecpath: _test\.gotext: "G703"- path: _test\.golinters:- containedctx- path-except: 'db/migrations/'linters:- forbidigogenerated: laxpresets:- comments- common-false-positives- legacy- std-error-handlingpaths:- third_party$- builtin$- examples$- node_modules- _gen\.go$- .worktreesformatters:exclusions:generated: laxpaths:- third_party$- builtin$- examples$- node_modules