@@ -40,6 +40,7 @@ linters:
4040 - bidichk # checks for dangerous unicode character sequences
4141 - bodyclose # checks whether HTTP response body is closed successfully
4242 - canonicalheader # checks whether net/http.Header uses canonical header
43+ - clickhouselint # detects common mistakes with the ClickHouse native Go driver API
4344 - copyloopvar # detects places where loop variables are copied (Go 1.22+)
4445 - cyclop # checks function and package cyclomatic complexity
4546 - depguard # checks if package imports are in a list of acceptable packages
@@ -89,6 +90,7 @@ linters:
8990 - nolintlint # reports ill-formed or insufficient nolint directives
9091 - nonamedreturns # reports all named returns
9192 - nosprintfhostport # checks for misuse of Sprintf to construct a host with port in a URL
93+ - paralleltest # detects missing usage of t.Parallel() method in your Go test
9294 - perfsprint # checks that fmt.Sprintf can be replaced with a faster alternative
9395 - predeclared # finds code that shadows one of Go's predeclared identifiers
9496 - promlinter # checks Prometheus metrics naming via promlint
@@ -146,7 +148,6 @@ linters:
146148 # - maintidx # measures the maintainability index of each function
147149 # - misspell # [useless] finds commonly misspelled English words in comments
148150 # - nlreturn # [too strict and mostly code is not more readable] checks for a new line before return and branch statements to increase code clarity
149- # - paralleltest # [too many false positives] detects missing usage of t.Parallel() method in your Go test
150151 # - tagliatelle # checks the struct tags
151152 # - thelper # detects golang test helpers without t.Helper() call and checks the consistency of test helpers
152153 # - wsl # [too strict and mostly code is not more readable] whitespace linter forces you to use empty lines
@@ -395,21 +396,15 @@ linters:
395396 - github.com/jmoiron/sqlx
396397
397398 sloglint :
398- # Enforce not using global loggers.
399- # Values:
400- # - "": disabled
401- # - "all": report all global loggers
402- # - "default": report only the default slog logger
403- # https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-global
404- # Default: ""
399+ # Report the use of global loggers.
400+ # https://github.com/go-simpler/sloglint#no-global-logger
401+ # Values: "all", "default"
402+ # Default: "" (disabled)
405403 no-global : all
406- # Enforce using methods that accept a context.
407- # Values:
408- # - "": disabled
409- # - "all": report all contextless calls
410- # - "scope": report only if a context exists in the scope of the outermost function
411- # https://github.com/go-simpler/sloglint?tab=readme-ov-file#context-only
412- # Default: ""
404+ # Report the use of functions without a context.Context.
405+ # https://github.com/go-simpler/sloglint#context-only
406+ # Values: "all", "scope"
407+ # Default: "" (disabled)
413408 context : scope
414409
415410 staticcheck :
0 commit comments