use-package is a useful and popular macro for installing packages, but flycheck always complains about it since it hides variable definitions. For example, if I attempt
(use-package org), Flycheck will warn of a
reference to free variable 'org.
I also have a
defcom macro that simplifies command definitions for me, but which hides variable definitions in the same way. Flycheck chokes on these too.
How can I advise Flycheck that these instances are okay? Alternatively, how can I selectively disable this warning? Getting Flycheck to ignore unknown macros also seems like a safe bet, since macros redefine syntax and will usually require new rules.