Skip to content

Commit

Permalink
excludes errchecks linter
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvajagtap authored and AlexVulaj committed Mar 20, 2024
1 parent b2a86a1 commit e5f1a0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
args: --timeout=5m
10 changes: 10 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
run:
skip-dirs:
- examples/*.go
timeout: "5m"
# will not run golangci-lint against *_test.go
tests: false
issues:
exclude-rules:
# excluding error checks from all the .go files
- path: ./*.go
linters:
- errcheck

0 comments on commit e5f1a0a

Please sign in to comment.