0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-05-14 03:12:18 +00:00
crazy-max_diun/vendor/github.com/crazy-max/gohealthchecks/.golangci.yml
dependabot[bot] a12e347d9b
chore(deps): bump github.com/crazy-max/gohealthchecks
Bumps [github.com/crazy-max/gohealthchecks](https://github.com/crazy-max/gohealthchecks) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/crazy-max/gohealthchecks/releases)
- [Commits](https://github.com/crazy-max/gohealthchecks/compare/v0.4.1...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/crazy-max/gohealthchecks
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 07:25:06 +00:00

82 lines
1.5 KiB
YAML

run:
timeout: 10m
# default uses Go version from the go.mod file, fallback on the env var
# `GOVERSION`, fallback on 1.17: https://golangci-lint.run/usage/configuration/#run-configuration
go: "1.23"
linters:
enable:
- bodyclose
- depguard
- forbidigo
- gocritic
- gofmt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- makezero
- misspell
- noctx
- nolintlint
- revive
- staticcheck
- testifylint
- typecheck
- unused
- whitespace
disable-all: true
linters-settings:
gocritic:
disabled-checks:
- "ifElseChain"
- "assignOp"
- "appendAssign"
- "singleCaseSwitch"
govet:
enable:
- nilness
- unusedwrite
depguard:
rules:
main:
deny:
- pkg: "io/ioutil"
desc: The io/ioutil package has been deprecated.
gosec:
config:
G306: "0644"
testifylint:
disable:
# disable rules that reduce the test condition
- "empty"
- "bool-compare"
- "len"
- "negative-positive"
issues:
exclude-rules:
- linters:
- revive
text: "stutters"
- linters:
- revive
text: "empty-block"
- linters:
- revive
text: "superfluous-else"
- linters:
- revive
text: "unused-parameter"
- linters:
- revive
text: "redefines-builtin-id"
- linters:
- revive
text: "if-return"
# show all
max-issues-per-linter: 0
max-same-issues: 0