Files
SwipedModSwitcher/.golangci.yml
T
s1d3sw1ped_bot 5b2affec8d
CI / Build (pull_request) Successful in 38s
CI / Lint (pull_request) Successful in 42s
CI / Test (pull_request) Successful in 59s
ci: Bump tag-release golangci-lint to v8
2026-09-02 02:23:24 +00:00

50 lines
913 B
YAML

# .golangci.yml — SwipedModSwitcher (golangci-lint v2)
# Adapted from steamcache2 v2 skeleton; no project-specific path excludes yet.
# Run with: golangci-lint run ./...
version: "2"
run:
timeout: 5m
modules-download-mode: readonly
linters:
# Defaults (errcheck, govet, ineffassign, staticcheck, unused, …) plus:
enable:
- misspell
settings:
errcheck:
check-type-assertions: false
check-blank: false
staticcheck:
checks:
- all
- "-ST*"
- "-QF*"
govet:
enable-all: true
disable:
- fieldalignment
- shadow
exclusions:
generated: lax
paths:
- dist
- bin
rules:
- path: _test\.go
linters:
- errcheck
formatters:
enable:
- goimports
exclusions:
generated: lax
paths:
- dist
- bin
issues:
max-issues-per-linter: 0
max-same-issues: 0