mirror of
https://github.com/hanzo-ds/go.git
synced 2026-10-30 19:45:01 +00:00
Feature-complete v2.44.0 (lib/churl, lib/col, BFloat16, QBit, scanTypeDuration, Options.Logger *slog.Logger) — fixes the [email protected].0 downgrade RED caught. Package datastore, module github.com/hanzo-ds/go, depends only on hanzo-ds/native. Wire strings preserved VERBATIM (X-ClickHouse-* headers, sql.Register("clickhouse"), clickhouse:// DSN, ClientName="clickhouse-go") — consistent with native.
72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
run:
|
|
tests: false
|
|
skip-dirs:
|
|
- benchmark
|
|
- tests
|
|
- internal/cmd
|
|
|
|
linters-settings:
|
|
gocritic:
|
|
disabled-checks:
|
|
- singleCaseSwitch
|
|
- commentFormatting
|
|
|
|
decorder:
|
|
dec-order:
|
|
- type
|
|
- const
|
|
- var
|
|
- func
|
|
disable-dec-order-check: false
|
|
|
|
revive:
|
|
enable-all-rules: true
|
|
rules:
|
|
- name: cyclomatic
|
|
disabled: true
|
|
- name: argument-limit
|
|
disabled: true
|
|
- name: function-length
|
|
disabled: true
|
|
- name: function-result-limit
|
|
disabled: true
|
|
- name: line-length-limit
|
|
disabled: true
|
|
- name: file-header
|
|
disabled: true
|
|
- name: cognitive-complexity
|
|
disabled: true
|
|
- name: banned-characters
|
|
disabled: true
|
|
- name: max-public-structs
|
|
disabled: true
|
|
- name: add-constant
|
|
disabled: true
|
|
- name: unhandled-error
|
|
disabled: true
|
|
- name: deep-exit
|
|
disabled: true
|
|
- name: nested-structs
|
|
disabled: true
|
|
|
|
gofmt:
|
|
rewrite-rules:
|
|
- pattern: 'interface{}'
|
|
replacement: 'any'
|
|
- pattern: 'a[b:len(a)]'
|
|
replacement: 'a[b:]'
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asciicheck
|
|
- bodyclose
|
|
- depguard
|
|
- gocritic
|
|
- gofmt
|
|
- govet
|
|
- ineffassign
|
|
- imports
|
|
- misspell
|
|
- staticcheck
|