Create a macro that will define new hooks, applying lint rules for rules of hooks as well as adding the ability to annotate certain behavior with metadata.
(defhook use-thing
[foo bar]
,,,)
This can be a building block towards:
Interoping fast refresh to detect changes to custom hooks, in order to hot load them correctly.
Warning on using hooks in conditionals, loops.
Warning on not filling in deps inside defhook body
Add ability to flag an argument as deps to allow warnings about unfilled deps on usage
Create a macro that will define new hooks, applying lint rules for rules of hooks as well as adding the ability to annotate certain behavior with metadata.
This can be a building block towards: