eastwood

All things realted to eastwood - the Clojure linter
sergeyw 2019-04-27T20:09:33.008200Z

Hi! I want to try eastwood, but getting an error on some open source projects. For example I was trying to run eastwood against the riemann repo (https://github.com/riemann/riemann), but getting the following error:

== Eastwood 0.3.5 Clojure 1.9.0 JVM 1.8.0_181 ==
Unknown error: {:type :reader-exception, :ex-kind :reader-error}
Subprocess failed
Could you please point me to the right direction? I didn't manage to google it correctly

borkdude 2019-04-27T20:14:51.008500Z

@sergeyw with clj-kondo I get: ./src/riemann/streams/pure.clj:0:0: error: can’t parse ./src/riemann/streams/pure.clj, Unexpected EOF reading string starting “” /--- c0 ---“.

sergeyw 2019-04-27T20:15:37.009200Z

oh wow

borkdude 2019-04-27T20:15:48.009800Z

I think the backslash might be invalid there

sergeyw 2019-04-27T20:16:25.010300Z

So basically it is a syntax parser error, isn't it?

borkdude 2019-04-27T20:17:00.010600Z

yeah, I can reproduce it like this:

clj -e '(ns foo "/---\")'

borkdude 2019-04-27T20:18:38.011400Z

that might be it, not sure if it is. it’s the only parse error I was getting

sergeyw 2019-04-27T20:21:22.013400Z

I have deleted those lines, and now eastwood's output appears. Thank you a lot! Couldn't imagine it was a syntax issue.