Created
November 14, 2023 16:38
-
-
Save m-bodmer/64dd9b6f242438e3238fbc08b301fd43 to your computer and use it in GitHub Desktop.
golangci config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run: | |
timeout: 5m | |
modules-download-mode: readonly | |
skip-files: | |
- pkg/gql_types/gql_types.go | |
linters: | |
# We'll track the golangci-lint default linters manually | |
# instead of letting them change without our control. | |
disable-all: true | |
enable: | |
- goimports | |
- revive | |
- govet | |
- staticcheck | |
- ineffassign | |
- gosimple | |
- unused | |
# - errcheck TODO: enable errcheck | |
issues: | |
# Don't ignore some of the issues that golangci-lint considers okay. | |
# This includes documenting all exported entities. | |
exclude-use-default: false | |
# Print all issues reported by all linters. | |
max-issues-per-linter: 0 | |
max-same-issues: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment