Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Ulysses Souza <[email protected]>
  • Loading branch information
ulyssessouza committed Dec 22, 2024
1 parent c324f61 commit 0bedb0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,19 @@ linters-settings:
nolintlint:
# Exclude following linters from requiring an explanation.
# Default: []
allow-no-explanation: [ funlen, gocognit, lll ]
allow-no-explanation: [ funlen, gocognit, lll, errcheck ]
# Enable to require an explanation of nonzero length after each nolint directive.
# Default: false
require-explanation: true
# Enable to require nolint directives to mention the specific linter being suppressed.
# Default: false
require-specific: true

revive:
rules:
- name: blank-imports
disabled: true

rowserrcheck:
# database/sql is always checked
# Default: []
Expand Down

0 comments on commit 0bedb0f

Please sign in to comment.