skip-files option still reports errors from revive #2469
-
I've configured some files to be ignored, specifically the resolvers from gqlgen since they will always have certain issues since they're partially generated files but golangci-lint still seems to be reporting errors from those files run:
skip-files:
- "./internal/graph/*\\.resolvers\\.go"
linters:
enable:
- revive
linters-settings:
revive:
ignore-generated-header: true
enable-all-rules: true
severity: warning
rules:
- name: line-length-limit
arguments: [88] Lint output
|
Beta Was this translation helpful? Give feedback.
Answered by
ldez
Jan 10, 2022
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
butuzov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
*
must be.*
because it's not a glob but a regexp.