Skip to content

Commit

Permalink
chore(golanglint-ci) disabling some linters for *_test.go files (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
rluders committed Jan 2, 2023
1 parent 9788fce commit b7240c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.precommit.yml
Expand Up @@ -73,6 +73,12 @@ issues:
- linters:
- lll
source: "^// "
# Excluding *_test.go files
- path: _test\.go
linters:
- funlen
- gosec
- dupl

run:
skip-dirs:
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yml
Expand Up @@ -124,6 +124,12 @@ issues:
- linters:
- lll
source: "^// "
# Excluding *_test.go files
- path: _test\.go
linters:
- funlen
- gosec
- dupl

run:
timeout: 5m
Expand Down

0 comments on commit b7240c5

Please sign in to comment.