excludes errchecks linter

This commit is contained in:
apoorvajagtap 2024-03-19 23:44:15 +05:30 committed by Alex Vulaj
parent b2a86a1744
commit e5f1a0aad0
2 changed files with 10 additions and 1 deletions

View File

@ -29,4 +29,3 @@ jobs:
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.53 version: v1.53
args: --timeout=5m

View File

@ -1,3 +1,13 @@
run: run:
skip-dirs: skip-dirs:
- examples/*.go - 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