1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-14 20:32:29 +00:00

ci/cd: add basic static analysis for backend (#389)

This commit is contained in:
Rich
2025-03-27 08:13:56 -07:00
committed by GitHub
parent 4d049bbe24
commit 4ac1196d8d
8 changed files with 67 additions and 9 deletions

21
backend/.golangci.yml Normal file
View File

@@ -0,0 +1,21 @@
linters:
# Disable all linters.
# Default: false
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gosec
- gocognit
presets:
- bugs
- sql
run:
timeout: "5m"
tests: true