Files
go-unifi/.golangci.yaml
Joshua Spence 206f4be940 Make golangci-lint more strict (#150)
* Reformat some YAML files

* Make `golangci-lint` more strict
2023-06-23 09:00:12 +10:00

45 lines
695 B
YAML

---
linters:
enable-all: true
disable:
- 'depguard'
- 'tagliatelle'
# Temporary
- 'cyclop'
- 'dupl'
- 'exhaustruct'
- 'forbidigo'
- 'funlen'
- 'gochecknoglobals'
- 'gocognit'
- 'goconst'
- 'gocritic'
- 'gocyclo'
- 'godox'
- 'goerr113'
- 'gomnd'
- 'gosec'
- 'lll'
- 'maintidx'
- 'nestif'
- 'nlreturn'
- 'paralleltest'
- 'revive'
- 'stylecheck'
- 'varnamelen'
- 'wrapcheck'
- 'wsl'
# Deprecated
- 'deadcode'
- 'exhaustivestruct'
- 'golint'
- 'ifshort'
- 'interfacer'
- 'maligned'
- 'nosnakecase'
- 'scopelint'
- 'structcheck'
- 'varcheck'