oakmac/standard-clojure-style-js
improve error message for use inside ns form
Open
#172 opened on Dec 28, 2024
enhancementhelp wanted
Repository metrics
- Stars
- (137 stars)
- PR merge metrics
- (Avg merge 8h 9m) (8 merged PRs in 30d)
Description
Follow-up to Issue #152 and PR-171:
We should show more details to the user when :use is detected inside of the ns form. For example, we could include the line + column number where we encountered :use and print a few lines above and below the location so that the user can see more context of where the error occurred.