Fork me on GitHub
#clj-kondo
<
2020-04-16
>
tatut06:04:15

just found out clj-kondo datalog query linting (by having a missing var)... very cool

👍 4
didibus08:04:07

@borkdude Am I just not seeing it, or does analysis not contain the list of refered vars? Like if I want to know what vars a namespace has refered (ns (:require [some :as foo :refer [bar baz]])) and I want to get bar and baz ?

didibus08:04:19

@borkdude Also... hum, does clj-kondo track keywords? If so, could the analysis contain information about them as well? Like what are all the keywords in the code, and where they are used

borkdude08:04:45

@didibus The analysis data only contains what is documented here: https://github.com/borkdude/clj-kondo/tree/master/analysis

borkdude08:04:59

Could more be added? Sure. Make an issue with a proposal.

didibus08:04:15

Ok, will do, thx