Files
SwipedModSwitcher/.golangci.yml
T
s1d3sw1ped_bot 5e4a10c573
CI / Build (pull_request) Successful in 39s
CI / Lint (pull_request) Successful in 48s
CI / Test (pull_request) Successful in 1m7s
ci: Bump tag-release golangci-lint to v8
Align tag-release Lint with push-ci / PR CI:
- golangci/golangci-lint-action@v8
- version: v2.13.2
- args: --timeout=5m

Gate the Fyne release job with needs: [lint, test] so a broken
lint cannot publish (root cause of tag v1.0.2 overall failure).

Add optional .golangci.yml from steamcache2 v2 skeleton (misspell;
no steamcache-specific path excludes; no gosec until Rex wants it).

Keep Fyne + release-action path; no GoReleaser; no master→main rename.

Fixes #34
2026-09-02 02:22:16 +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