mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
Enable the sloglint linter (#34398)
Updates the golangci-lint configuration to enable sloglint and configure it as per RFD 0154.
This commit is contained in:
@@ -27,6 +27,7 @@ linters:
|
||||
- misspell
|
||||
- nolintlint
|
||||
- revive
|
||||
- sloglint
|
||||
- staticcheck
|
||||
- testifylint
|
||||
- unconvert
|
||||
@@ -72,6 +73,10 @@ linters-settings:
|
||||
rules:
|
||||
- name: unused-parameter
|
||||
disabled: true
|
||||
sloglint:
|
||||
context-only: true
|
||||
key-naming-case: snake
|
||||
static-msg: true
|
||||
testifylint:
|
||||
enable:
|
||||
- bool-compare
|
||||
|
||||
Reference in New Issue
Block a user