b1f8ac453b
feat!: base template * first bit of templating * codeowners * linuxbased * restart * baseline project * add grpc api and basic integration test * startqueue * queueMsg * splitscripts * migrations * queueintegrationtest * gateway
37 lines
803 B
YAML
37 lines
803 B
YAML
linters:
|
|
enable:
|
|
- errcheck
|
|
- errorlint
|
|
- gci
|
|
- gocritic
|
|
- gofumpt
|
|
- misspell
|
|
- nolintlint
|
|
- nonamedreturns
|
|
- testifylint
|
|
- thelper
|
|
|
|
linters-settings:
|
|
errorlint:
|
|
# Check whether fmt.Errorf uses the %w verb for formatting errors.
|
|
# See the https://github.com/polyfloyd/go-errorlint for caveats.
|
|
errorf: true
|
|
# Permit more than 1 %w verb, valid per Go 1.20 (Requires errorf:true)
|
|
errorf-multi: true
|
|
# Check for plain type assertions and type switches.
|
|
asserts: true
|
|
# Check for plain error comparisons.
|
|
comparison: true
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/testcontainers)
|
|
testifylint:
|
|
disable:
|
|
- float-compare
|
|
- go-require
|
|
enable-all: true
|
|
run:
|
|
timeout: 5m
|