This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-23
Channels
- # announcements (18)
- # babashka (65)
- # bangalore-clj (14)
- # beginners (80)
- # bristol-clojurians (1)
- # calva (4)
- # chlorine-clover (3)
- # cider (39)
- # clj-kondo (5)
- # clojars (1)
- # clojure (134)
- # clojure-france (1)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-uk (7)
- # clojurescript (17)
- # core-typed (22)
- # data-science (1)
- # datomic (6)
- # duct (9)
- # emacs (48)
- # fulcro (58)
- # graalvm (37)
- # kaocha (2)
- # nrepl (1)
- # reagent (8)
- # shadow-cljs (20)
- # specter (1)
- # tree-sitter (5)
- # xtdb (3)
i'm using clj-kondo to examine source files fetched from github (seeded from clojars' feed.clj).
one thing i noticed is that there are files that have names that end in .clj, and they appear to be template files.
they have sequences of characters like {{name}}
in them.
it appears that clj-kondo can pick (some?) of these out and display a message like: "error: Invalid keyword: .", which is nice, but there is no string displayed for what the invalid keyword might have been.
i noticed similar messages for invalid symbols and tokens do display some string.
is it practical to report what string might have been considered invalid?
ah, that makes sense -- there was another instance (the squirrel file: https://github.com/technomancy/leiningen/blob/master/test_projects/sample-failing/src/nom/nom/nom.clj) where the sequence was a colon followed by a semi-colon. since the line number is there, i guess i can just read the specific line and print that out. thanks @dominicm!