Skip to content

Commit

Permalink
Update linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Feb 26, 2025
1 parent 10c87bc commit d9d5c65
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ linters:
# Check for duplicate code. You may want to disable this with // nolint:dupl if the source code is the same, but
# legitimately exists for different reasons.
- dupl
# Check for pointers in loops. This is a typical bug source.
- exportloopref
# Enforce a reasonable function length of 60 lines or 40 instructions. In very rare cases you may want to disable
# this with // nolint:funlen if there is absolutely no way to split the function in question.
- funlen
Expand Down Expand Up @@ -91,7 +89,6 @@ linters-settings:
- golang.org/
govet:
enable-all: true
check-shadowing: false
disable:
# We don't care about variable shadowing.
- shadow
Expand Down

0 comments on commit d9d5c65

Please sign in to comment.