Fork me on GitHub
#clj-kondo
<
2024-01-04
>
magnars09:01:09

I was happily surprised today when clj-kondo just linted my datalog query. I'm in awe at the amount of work put into this excellent tool. ❤️

❤️ 6
💯 3
☝️ 2
1
Noah Bogart15:01:08

I ran into a potential issue where I was accidentally using a dependency's dependency instead of including it explicitly in my deps.edn (relying on clojure.tools.cli when building a kaocha plugin). How interested would you be in a linter that looks at all required/imported namespaces and checks that they're either in the :paths or :extra-paths or dependencies?

borkdude15:01:07

I think this question has come up before in this channel. Could you spend a moment to see if that is true and find the relevant threads?

👍 1
Noah Bogart15:01:26

Yeah, I can do that for you, one sec

borkdude16:01:33

It might also have been in clojure-lsp

borkdude16:01:53

One issue is that clj-kondo doesn't know about the project classpath at all

Noah Bogart16:01:04

ahh yeah, i forgot about that

borkdude16:01:09

so maybe having this as a custom linter in clojure-lsp is best

👍 1
Noah Bogart16:01:12

probably a clojure-lsp linter

👍 1
Noah Bogart16:01:26

i'll ask over there. thanks