mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 06:06:27 +08:00
ci: revert revive settings back to fix lint
The upstream revive repo changed the default settings for this linter. We use this through golangci-lint. This change meant lots of errors appearing all at once. We should probably fix these in due course, but for the time being this disables those settings. See: https://github.com/mgechev/revive/pull/799
This commit is contained in:
parent
5f07113a4b
commit
75dfdbf211
|
@ -28,3 +28,17 @@ issues:
|
|||
run:
|
||||
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
||||
timeout: 10m
|
||||
|
||||
linters-settings:
|
||||
revive:
|
||||
rules:
|
||||
- name: unreachable-code
|
||||
disabled: true
|
||||
- name: unused-parameter
|
||||
disabled: true
|
||||
- name: empty-block
|
||||
disabled: true
|
||||
- name: redefines-builtin-id
|
||||
disabled: true
|
||||
- name: superfluous-else
|
||||
disabled: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user