Skip to content

Commit

Permalink
fix:Fix the linter so it ignores the entire nhooyr.io directory tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Sep 9, 2024
1 parent 3deaf4e commit 1007880
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ linters:
- ineffassign

issues:
exclude-files:
- "internal/jwtxt/keypairs_for_test.go"
exclude-rules:
- path: _test.go
linters:
Expand All @@ -31,15 +33,13 @@ issues:
- path: internal/credentials/cmd/example/main.go
linters:
- gosec
- path: internal/nhooyr.io
- path: internal/nhooyr.io/*
linters:
- bodyclose
- errorlint
- gosec
- goconst
- misspell
- prealloc

run:
skip-files:
- "internal/jwtxt/keypairs_for_test.go"
- govet
- staticcheck

0 comments on commit 1007880

Please sign in to comment.