Files
lpm/.golangci.yml
zeekay 4e3cb79734 fix: update golangci-lint config for latest version
Remove deprecated linters (deadcode, varcheck, exportloopref, stylecheck),
move skip-files to issues.exclude-files, remove staticcheck go field.
2026-03-11 19:21:08 -07:00

48 lines
754 B
YAML

# Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
# See the file LICENSE for licensing terms.
# https://golangci-lint.run/usage/configuration/
run:
timeout: 10m
issues:
max-same-issues: 0
exclude-files:
- ".*\\.pb\\.go$"
linters:
disable-all: true
enable:
- asciicheck
- bodyclose
- errcheck
- goconst
- gocritic
- gofmt
- gofumpt
- goimports
- revive
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- prealloc
- unconvert
- unparam
- unused
- whitespace
- staticcheck
linters-settings:
staticcheck:
checks:
- "all"
- "-SA6002"
- "-SA1019"
gosec:
excludes:
- G107