oh-my-posh/src/.golangci.yml

53 lines
837 B
YAML
Raw Normal View History

2020-11-19 00:23:33 -08:00
run:
timeout: 5m
2021-06-08 11:16:55 -07:00
allow-parallel-runners: true
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dupl
- errcheck
- exhaustive
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
2021-05-21 11:01:08 -07:00
- revive
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
2021-03-27 09:10:35 -07:00
- exportloopref
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- lll
linters-settings:
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-tags:
- experimental
disabled-checks:
- ifElseChain
lll:
line-length: 180