mirror of
https://github.com/luxfi/lpm.git
synced 2026-11-03 08:58:51 +00:00
Remove deprecated linters (deadcode, varcheck, exportloopref, stylecheck), move skip-files to issues.exclude-files, remove staticcheck go field.
48 lines
754 B
YAML
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
|