Skip to content

Commit e5f1a0a

Browse files
apoorvajagtapAlexVulaj
authored andcommitted
excludes errchecks linter
1 parent b2a86a1 commit e5f1a0a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/verify.yml

-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ jobs:
2929
uses: golangci/golangci-lint-action@v3
3030
with:
3131
version: v1.53
32-
args: --timeout=5m

.golangci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
run:
22
skip-dirs:
33
- examples/*.go
4+
timeout: "5m"
5+
# will not run golangci-lint against *_test.go
6+
tests: false
7+
issues:
8+
exclude-rules:
9+
# excluding error checks from all the .go files
10+
- path: ./*.go
11+
linters:
12+
- errcheck
13+

0 commit comments

Comments
 (0)