ci: Bump tag-release golangci-lint to v8
CI / Build (pull_request) Successful in 38s
CI / Lint (pull_request) Successful in 42s
CI / Test (pull_request) Successful in 59s

This commit is contained in:
s1d3sw1ped_bot
2026-09-02 02:23:24 +00:00
parent d252e8e8d9
commit 5b2affec8d
2 changed files with 58 additions and 4 deletions
+49
View File
@@ -0,0 +1,49 @@
# .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