Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: simplify golangci-lint config to prevent random failures #492

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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