mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 00:58:35 +08:00
31 lines
564 B
YAML
31 lines
564 B
YAML
# golangci-lint configuration options
|
|
|
|
run:
|
|
build-tags:
|
|
- cmount
|
|
|
|
linters:
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- goimports
|
|
- golint
|
|
- ineffassign
|
|
- structcheck
|
|
- varcheck
|
|
- govet
|
|
- unconvert
|
|
#- prealloc
|
|
#- maligned
|
|
disable-all: true
|
|
|
|
issues:
|
|
# Enable some lints excluded by default
|
|
exclude-use-default: false
|
|
|
|
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
|
|
max-per-linter: 0
|
|
|
|
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
|
|
max-same-issues: 0
|