Skip to content

Commit

Permalink
ci: simplify golangci-lint config to prevent random failures
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Apr 1, 2021
1 parent ef92af4 commit 68a46ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -16,8 +16,6 @@ jobs:

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest

test:
name: Test
Expand Down
20 changes: 0 additions & 20 deletions .golangci.yml
Expand Up @@ -2,25 +2,5 @@ run:
tests: true

linters:
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
enable-all: true
disable:
- errcheck
- lll
- wsl
- gomnd
- testpackage
- exhaustivestruct
- paralleltest
- cyclop
- forcetypeassert

issues:
exclude-rules:
- path: _test\.go
linters:
- gochecknoglobals
- funlen
- godox
- noctx
- wrapcheck

0 comments on commit 68a46ca

Please sign in to comment.