Skip to content

Commit 1c849dd

Browse files
exclude stdlib copied tests from linting
1 parent 2b1f4e6 commit 1c849dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: "2"
2+
linters:
3+
exclusions:
4+
rules:
5+
# Tests copied from the stdlib are not meant to be linted.
6+
- path: 'golang_(.+_)?test\.go'
7+
source: "^" # regex

0 commit comments

Comments
 (0)