clj-kondo

2025-06-07T19:55:16.901059Z

Is there a way to make clj-kondo aware of :style/indent? (I'm trying clojure-mcp and it's completely unaware of my meticulously documented macro indentations)

✅ 1
borkdude 2025-06-07T19:57:34.854049Z

clj-kondo doesn't do anything with whitespace or formatting

borkdude 2025-06-07T19:58:26.100319Z

I think there might be a tool to generate cljfmt configs from style/indent though, which is then used by clojure-mcp to re-format your code

2025-06-07T19:59:29.235329Z

Ah my bad! Thank you for the clarifications! 🙏

borkdude 2025-06-07T20:00:00.115359Z

it is possible to get the metadata from functions with clj-kondo though