helix icon indicating copy to clipboard operation
helix copied to clipboard

Provide the ability to mark symbols as not hooks

Open lilactown opened this issue 3 years ago • 1 comments

lilactown avatar Aug 10 '21 20:08 lilactown

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.

rome-user avatar May 24 '23 09:05 rome-user