Skip to content

Commit 80a3ce7

Browse files
authored
chore: ignore goconst linter in tests (#108)
1 parent 4437d05 commit 80a3ce7

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- "go.mod"
1212
- "go.sum"
1313
- ".github/workflows/test.yml"
14+
- ".golangci.yml"
1415
- "Makefile"
1516

1617
jobs:

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ linters:
7777
desc: use stdlib instead
7878
errcheck:
7979
check-type-assertions: true
80+
goconst:
81+
ignore-tests: true
8082
gocritic:
8183
disabled-checks:
8284
- commentFormatting

0 commit comments

Comments
 (0)