rewrite-clj

Joel 2025-05-21T00:20:34.678249Z

Is there code to format a map so that the values are left-justified? I know usually the suggestion is to use a linter, but this is so common I’d think there’s already code to do this?

Joel 2025-05-21T04:06:35.566849Z

AI struggled greatly, but was able to complete it to something useful.

lread 2025-05-21T04:36:12.384009Z

Hi @joel380, there are higher-level libraries that use rewrite-clj to do this. Have you considered using tools like https://github.com/weavejester/cljfmt or https://github.com/kkinnear/zprint?