This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I wouldn’t suggest this as a feature, but just in case there is a way to accomplish it on my own, I’m going to ask:
Is there a way I can have kondo recognize symbols used in the selmer.parser
<<
macro so they are not indicated as unused?
E.g. as seen here:
I think the only way to do this is with a hook, where you parse out the {{ }} expressions and construct a new expression as the return value of the hook with those expressions
Ok thanks - I figured something similar.
I'd really use something like #C66EM8D5H to construct sql instead of selmer, seems much safer
No - I appreciate that. I saw it, but this was a case where a 10 minute exploration with just a single SQL statement unexpectedly grew into a multi-hour endeavor. Now that I’ve decided to take this further, I probably should (and will) take another look at honey.