mirror of
https://github.com/luxfi/sdk.git
synced 2026-11-02 15:28:56 +00:00
38 lines
678 B
YAML
38 lines
678 B
YAML
version: "2"
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
settings:
|
|
gofmt:
|
|
simplify: true
|
|
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- govet
|
|
- staticcheck
|
|
- ineffassign
|
|
|
|
settings:
|
|
staticcheck:
|
|
checks:
|
|
- "all"
|
|
- "-ST1000" # Package comments
|
|
- "-ST1003" # ALL_CAPS naming
|
|
- "-ST1005" # Error string formatting
|
|
- "-ST1020" # Function comment format
|
|
- "-ST1021" # Type comment format
|
|
- "-QF1001" # De Morgan's law
|
|
- "-QF1008" # Embedded field selectors
|
|
- "-QF1009" # Time comparison
|
|
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- .archive
|
|
- examples
|
|
|
|
run:
|
|
timeout: 10m
|