Skip to content

Commit

Permalink
Update linter settings
Browse files Browse the repository at this point in the history
* Disable unused-parameter
* Enable misspell

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ committed Jul 6, 2023
1 parent f93419f commit 3aaea78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
---
linters:
enable:
- misspell
- revive

issues:
exclude-rules:
- path: _test.go
linters:
- errcheck

linters-settings:
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: true

0 comments on commit 3aaea78

Please sign in to comment.