helix
helix copied to clipboard
Provide the ability to mark symbols as not hooks
Does this mean preventing the linter from assuming every symbol starting with use
is not a hook? If so, then I expect we can achieve this with metadata, such as ^:not-hook
.
In particular, here is where change can be made https://github.com/lilactown/helix/blob/34811a9a9d6612d3b08495cbea7c311d0215fe48/src/helix/impl/analyzer.clj#L99-L102
We can check the metadata of the list and/or the first element of the list.