Fork me on GitHub
#clojurescript
<
2023-01-07
>
Justin Roche05:01:40

I’ve had this idea for a while to make a map formatter that sorts the keys in prop maps and style maps in some kind of order, to make it really regular across all files. Lsp can alphabetize them but I want them sorted by "importance", with neat line breaks. It would probably be a standalone babashka project using treesitter. Is there any existing tool that can already do what I want? I’m using reagent and shadow-cls.