1) Something like (joker.string/replace "~/test" "~" (get (joker.os/env) "HOME"))
should do the trick.
2) Please see https://github.com/candid82/joker/pull/139#issuecomment-449878510 for the explanation (I need to move it to docs)
https://github.com/candid82/joker/blob/master/docs/misc/lib-loader.md
Hi everybody! Just curious is it possible to create customer joker lint rules? Something like in eslint https://blog.webiny.com/create-custom-eslint-rules-in-2-minutes-e3d41cb6a9a0?cf_lbyyhhwhyjj5l3rs65cb3w=msd9t7ui86dfhny9id4bsf
No, Joker doesn't support custom rules.
maybe it makes sense to add this feature in roadmap?
what rules do you have in mind? It's an interesting idea, but it's more challenging to do it in Joker since it's written in Go, so rules would have to be written in some sort of DSL.