Skip to content

Commit

Permalink
chore: disable staticcheck rule SA1019 (is deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
meling committed Dec 17, 2024
1 parent 6f16445 commit f66e4ba
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
linters:
enable:
- revive
- gocyclo
- misspell
- revive
- gocyclo
- misspell

linters-settings:
gocyclo:
Expand All @@ -14,9 +14,14 @@ linters-settings:

revive:
rules:
- name: unexported-return
disabled: true
- name: unused-parameter
- name: unexported-return
disabled: true
- name: unused-parameter

staticcheck:
checks:
- all
- '-SA1019' # temporarily disable the "is deprecated" rule

issues:
exclude-use-default: false
Expand Down

0 comments on commit f66e4ba

Please sign in to comment.