mirror of https://github.com/gorilla/websocket.git
excludes errchecks linter
This commit is contained in:
parent
b2a86a1744
commit
e5f1a0aad0
|
@ -29,4 +29,3 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.53
|
||||
args: --timeout=5m
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
run:
|
||||
skip-dirs:
|
||||
- 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue