mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
--------- Co-authored-by: Pasha Sviderski <me@psviderski.name> Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
43 lines
644 B
YAML
43 lines
644 B
YAML
version: "2"
|
|
|
|
run:
|
|
concurrency: 4
|
|
tests: true
|
|
timeout: 5m
|
|
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- bodyclose
|
|
# - dogsled
|
|
- dupl
|
|
# - errcheck
|
|
- gochecknoinits
|
|
- goconst
|
|
# - gocritic
|
|
# - gocyclo
|
|
# - godot
|
|
# - gosec
|
|
# - govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
# - prealloc
|
|
# - revive
|
|
# - staticcheck
|
|
- unconvert
|
|
# - unparam
|
|
# - unused
|
|
- whitespace
|
|
exclusions:
|
|
rules:
|
|
- path: ^test/e2e
|
|
linters:
|
|
- goconst # constants here add no value, so we skip goconst only for test/e2e.
|
|
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
- goimports
|
|
|