2025-10-28 14:52:22 -04:00
|
|
|
version: "2"
|
2018-08-07 15:30:04 +02:00
|
|
|
|
2025-10-28 14:52:22 -04:00
|
|
|
formatters:
|
|
|
|
|
enable:
|
|
|
|
|
- goimports
|
|
|
|
|
|
|
|
|
|
settings:
|
|
|
|
|
goimports:
|
|
|
|
|
local-prefixes:
|
|
|
|
|
- github.com/scylladb/gocqlx
|
|
|
|
|
golines:
|
|
|
|
|
max-len: 120
|
|
|
|
|
gofumpt:
|
|
|
|
|
extra-rules: true
|
2018-08-07 15:30:04 +02:00
|
|
|
|
|
|
|
|
linters:
|
2025-10-28 14:52:22 -04:00
|
|
|
exclusions:
|
|
|
|
|
rules:
|
|
|
|
|
- path: '(.+)_test\.go'
|
|
|
|
|
text: "fieldalignment"
|
|
|
|
|
linters:
|
|
|
|
|
- govet
|
|
|
|
|
|
|
|
|
|
default: none
|
2024-06-14 13:07:21 -04:00
|
|
|
enable:
|
2025-10-28 14:52:22 -04:00
|
|
|
- nolintlint
|
2024-06-14 13:07:21 -04:00
|
|
|
- errcheck
|
|
|
|
|
- gocritic
|
|
|
|
|
- goheader
|
|
|
|
|
- govet
|
|
|
|
|
- ineffassign
|
|
|
|
|
- lll
|
|
|
|
|
- misspell
|
|
|
|
|
- predeclared
|
|
|
|
|
- revive
|
|
|
|
|
- staticcheck
|
|
|
|
|
- thelper
|
|
|
|
|
- tparallel
|
|
|
|
|
- unused
|
|
|
|
|
- forbidigo
|
2025-10-28 14:52:22 -04:00
|
|
|
settings:
|
|
|
|
|
revive:
|
|
|
|
|
rules:
|
|
|
|
|
- name: package-comments
|
|
|
|
|
disabled: true
|
|
|
|
|
govet:
|
|
|
|
|
enable-all: true
|
|
|
|
|
disable:
|
|
|
|
|
- shadow
|
|
|
|
|
errcheck:
|
|
|
|
|
check-blank: false
|
|
|
|
|
gocognit:
|
|
|
|
|
min-complexity: 50
|
|
|
|
|
gocritic:
|
|
|
|
|
enabled-tags:
|
|
|
|
|
- diagnostic
|
|
|
|
|
- performance
|
|
|
|
|
- style
|
|
|
|
|
disabled-checks:
|
|
|
|
|
- commentedOutCode
|
|
|
|
|
- evalOrder
|
|
|
|
|
- hugeParam
|
|
|
|
|
- importShadow
|
|
|
|
|
- yodaStyleExpr
|
|
|
|
|
- whyNoLint
|
|
|
|
|
lll:
|
|
|
|
|
line-length: 180
|
|
|
|
|
nolintlint:
|
|
|
|
|
allow-no-explanation: [ golines ]
|
|
|
|
|
require-explanation: true
|
|
|
|
|
require-specific: true
|
2018-08-07 15:30:04 +02:00
|
|
|
|
2025-10-28 14:52:22 -04:00
|
|
|
run:
|
|
|
|
|
build-tags:
|
|
|
|
|
- integration
|
|
|
|
|
- all
|