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:
21
backend/.golangci.yml
Normal file
21
backend/.golangci.yml
Normal 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
|
||||
Reference in New Issue
Block a user