Files
Sebastian UnterschützandClaude Opus 5.5 d58e3e2653
ci / lint (pull_request) Successful in 6m32s
ci / image (pull_request) Successful in 6m29s
ci / build (pull_request) Successful in 11m31s
ci / test (pull_request) Successful in 12m59s
chore(lint): re-enable staticcheck and unused
golangci-lint v2.15.0 ships a honnef.co/go/tools that analyzes the Go 1.27
standard library without panicking. Fix what they found: dead helpers, an
unused constant, error strings starting with a product name, the usage
error, and two negations simplified by De Morgan.

Closes #43

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-23 07:12:20 +01:00

49 lines
934 B
YAML

version: "2"
run:
tests: true
linters:
default: none
enable:
- errcheck
- govet
- ineffassign
- revive
- errorlint
- gocritic
- misspell
- unconvert
- usestdlibvars
- staticcheck
- unused
settings:
revive:
rules:
- name: exported
arguments: [checkPrivateReceivers, sayRepetitiveInsteadOfStutters]
- name: package-comments
- name: var-naming
- name: receiver-naming
- name: error-strings
- name: error-naming
- name: indent-error-flow
- name: context-as-argument
- name: unexported-return
- name: blank-imports
exclusions:
generated: strict
rules:
- path: _test\.go
linters: [revive]
text: "exported"
formatters:
enable:
- gofmt
- goimports
settings:
goimports:
local-prefixes:
- git.zb-server.de/ZB-Server/uptimesebi