Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

exclude-linters option doesn't seem to work #7

Closed
christopheryoung opened this Issue · 4 comments

2 participants

@christopheryoung

Using Eastwood 0.0.2, Clojure 1.4 and lein2.

lein eastwood '{:exclude-linters [:misplaced-docstring]}'

at the command line

produces exactly the same output as lein eastwood (with tons of misplaced-docstring warnings).

Same thing when I added:

{:eastwood {:exclude-linters [:misplaced-docstring]}}

to my profiles.clj.

Am I doing anything obviously stupid?

@jonase
Owner

The name of the linter is :misplaced-docstrings

@jonase jonase closed this
@christopheryoung

How embarrassing. Sorry for the bad report.

@christopheryoung

Ah, one small point: Is the "s" supposed to be missing in the :misplaced-docstring keyword on line 37 of linters/misc.clj? The report produced tells you that the linter is :misplaced-docstring instead of :misplaced-docstrings, which is what led me to miss that "s" in spite of looking at the source.

@jonase jonase referenced this issue from a commit
@jonase Fixed linter names, see #7 148dd4b
@jonase
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.