Skip to content
Discussion options

You must be logged in to vote

Have a look at exclude-use-defaults and default exclusions. By default no matter what linters you enable some issues are always excluded for historical reasons. One if them is EXC0002 from golint, one is EXC0011 from stylecheck and two others are EXC0013 and EXC0014 from revive.

Try passing --enable revive --exclude-use-defaults=false or setting this config and you should see reports.

issues:
  exclude-use-defaults: false

  # Or include them, not 100% sure this works
  include:
    - EXC0013
    - EXC0014

linters:
  enable:
    - revive

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrishalbert
Comment options

Answer selected by chrishalbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants