clj-kondo

Dustin Getz (Hyperfiddle) 2025-08-07T12:45:47.786609Z

Is this interesting? I made it as a quick experiment in about 20 minutes

🆒 1
🎉 4
1
2025-08-07T13:04:37.265739Z

that's sick! built on electric?

Dustin Getz (Hyperfiddle) 2025-08-07T13:05:37.842789Z

Dustin Getz (Hyperfiddle) 2025-08-07T13:06:05.318069Z

built with https://github.com/hyperfiddle/hyperfiddle

👍 1
Dustin Getz (Hyperfiddle) 2025-08-07T13:14:55.077339Z

essentially 2 LOC on top of the starter app

(defn kondo [] (kondo/run! {:lint ["src"] :config {:analysis true}}))
(def sitemap (hfql/sitemap {kondo []}))

2025-08-07T13:18:01.452819Z

that's incredible

teodorlu 2025-08-07T13:47:28.916509Z

I might use it, if it's not too much of a hassle to get running. I spent some time today cleaning up liter warnings based on cli output, and some UI for filtering the messages would be nice.

teodorlu 2025-08-07T13:48:55.898249Z

That hfql/sitemap function is very interesting.

Dustin Getz (Hyperfiddle) 2025-08-07T13:49:31.298489Z

the https://github.com/hyperfiddle/datomic-browser example has a much more sophisticated HFQL sitemap

👀 1
Dustin Getz (Hyperfiddle) 2025-08-07T13:50:40.777779Z

{f []} is the simplest possible sitemap, which we turn into a "select * from (f)" to the best of our ability. Here in the Kondo example, it's a clojure data structure so we can easily infer the keys

👍 1
🙏 1