Calva: Use Eastwood linter instead of Joker

Created on 28 Sep 2018  路  8Comments  路  Source: BetterThanTomorrow/calva

Any reasons why Eastwood can't be used instead of the Joker linter?

https://github.com/jonase/eastwood

Most helpful comment

I like the joker linter, though I get quite a bit of false positives, especially for macros that it doesn't recognise. The page says it's configurable but I couldn't figure out how to do it.

All 8 comments

Related: https://github.com/BetterThanTomorrow/calva/issues/43

@dijonkitchen What would be your goal of switching? Can you talk about why it would be better?

Eastwood has a bit more interopability with Clojure and seems to be more of a standard for build processes.

See Joker's limitations/differences here:
https://github.com/candid82/joker#project-non-goals

I like the joker linter, though I get quite a bit of false positives, especially for macros that it doesn't recognise. The page says it's configurable but I couldn't figure out how to do it.

I haven't since I've been trying out Calva in VSCode, but I've seen it before and looks cool for Emacs users!

It should be fairly straightforward to create a task fro Eastwood linting and attach a problem matcher for it. If someone does that I would be happy to publish it on the wiki for people who rather use Eastwood than Joker.

@zcaudate, I place the .joker file in the project root. Here's from a small rum project:

{:known-macros [rum.core/defc
                rum.core/defcc
                rum.core/defcs]}

@PEZ: sweet, I'll try it out.

Was this page helpful?
0 / 5 - 0 ratings