Files
attest/.golangci.yaml
Jonny Stoten fbe9a0c726 Add linting github action (#107)
* Add golangci config

* Add lint action
2024-07-31 14:42:19 +01:00

37 lines
506 B
YAML

run:
timeout: 5m
go: "1.22"
linters-settings:
gocritic:
enabled-tags:
- performance
lll:
line-length: 200
misspell:
locale: US
linters:
disable-all: true
enable:
- errcheck
- forcetypeassert
- gocritic
- goconst
- godot
- gofmt
- gofumpt
- goimports
- gosec
- gosimple
- govet
- importas
- ineffassign
- misspell
- revive # replacement for golint
- staticcheck
- typecheck
- unused
- whitespace