Is there a way to disable a single revive's rule? #2009
-
I'm using golangci-lint 1.40.1. Is there a way to disable a single revive's rule? Such as: linters-settings:
revive:
rules:
- name: exported
deactivate: true This doesn't work right now. |
Beta Was this translation helpful? Give feedback.
Answered by
Antonboom
Sep 30, 2023
Replies: 2 comments 3 replies
-
Use fresh - name: exported
disabled: true |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Antonboom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use fresh
golangci-lint
and disabled option: