mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:32:24 -05:00
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.85 to 7.0.89. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.85...v7.0.89) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 dependency-version: 7.0.89 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
version: "2"
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- durationcheck
|
|
- gocritic
|
|
- gomodguard
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- revive
|
|
- staticcheck
|
|
- unconvert
|
|
- unused
|
|
- usetesting
|
|
- whitespace
|
|
settings:
|
|
misspell:
|
|
locale: US
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
- -SA1008
|
|
- -SA1019
|
|
- -SA4000
|
|
- -SA9004
|
|
- -ST1000
|
|
- -ST1005
|
|
- -ST1016
|
|
- -ST1021
|
|
- -ST1020
|
|
- -U1000
|
|
exclusions:
|
|
generated: lax
|
|
rules:
|
|
- path: (.+)\.go$
|
|
text: "empty-block:"
|
|
- path: (.+)\.go$
|
|
text: "unused-parameter:"
|
|
- path: (.+)\.go$
|
|
text: "dot-imports:"
|
|
- path: (.+)\.go$
|
|
text: "singleCaseSwitch: should rewrite switch statement to if statement"
|
|
- path: (.+)\.go$
|
|
text: "unlambda: replace"
|
|
- path: (.+)\.go$
|
|
text: "captLocal:"
|
|
- path: (.+)\.go$
|
|
text: "should have a package comment"
|
|
- path: (.+)\.go$
|
|
text: "ifElseChain:"
|
|
- path: (.+)\.go$
|
|
text: "elseif:"
|
|
- path: (.+)\.go$
|
|
text: "Error return value of"
|
|
- path: (.+)\.go$
|
|
text: "unnecessary conversion"
|
|
- path: (.+)\.go$
|
|
text: "Error return value is not checked"
|
|
issues:
|
|
max-issues-per-linter: 100
|
|
max-same-issues: 100
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|