clara 2023-05-19

Hello! I’m working on adding the new clj-kondo hooks into a legacy codebase But I get mysterious warning: unused binding this lint problems on some (but not all!) of my defrules What might be cause of this?

@matt.ielusic I've indeed recently added support for linting clara-rules through clj-kondo hooks, I noticed the same thing this week with some of my own codebase and will be working on a fix for the linter. The initial goal was to add linter support which previously did not exist, it will improve over time.

🎉 1
1

That’s the PR that added the new hooks, right? I don’t understand the lint warnings they’re generating on my pre-existing codebase.

Oh. I misread I think. You are using the new hooks but getting warnings ? Maybe worth asking on the PR or associated issue to see if something is missing.

Yeah, that solved all my lint warnings, thanks!

👍 2