This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-27
Channels
- # announcements (5)
- # beginners (267)
- # boot (1)
- # calva (37)
- # cider (11)
- # clara (10)
- # clj-kondo (24)
- # cljsrn (13)
- # clojars (1)
- # clojure (119)
- # clojure-europe (5)
- # clojure-italy (19)
- # clojure-nl (11)
- # clojure-spec (18)
- # clojure-uk (99)
- # clojurescript (44)
- # clojurex (57)
- # community-development (6)
- # cursive (13)
- # datomic (92)
- # duct (12)
- # fulcro (1)
- # graalvm (4)
- # jobs (1)
- # kaocha (6)
- # luminus (3)
- # lumo (9)
- # off-topic (20)
- # pathom (6)
- # re-frame (21)
- # reagent (2)
- # reitit (9)
- # remote-jobs (4)
- # shadow-cljs (32)
- # spacemacs (3)
I'm getting clj-kondo-edn is not a valid syntax checker
error when starting spacemacs.
Does somebody know what's going on?
https://github.com/borkdude/flycheck-clj-kondo/blob/master/flycheck-clj-kondo.el#L75
btw. would it be possible to automatically check :args
specs for functions or is that by definition impossible to do with clj-kondo?
in a limited fashion, it could be possible, e.g. when you use literals as arguments, but it only would go so far. I have an issue for this
Ah I see - I guess this one 🙂 https://github.com/borkdude/clj-kondo/issues/23
I guess other linters check for this so it may not be a priority, but I still find the occasional misplaced docstring in my code, would be nice to warn about that
@tatut I think that overlaps with this issue. feel free to add it: https://github.com/borkdude/clj-kondo/issues/259
when I'm adding the enhancement
label, it will probably be implemented. I can't promise when 🙂
I think, the more general case isn’t overlapping… having constant expressions that are discarded
missing docstring is probably something I will turn off by default, since not all people require this and it's not "wrong" to leave them out (arguably). but a misplaced docstring is something I will probably turn on by default
discarding "useless" constant values is indeed a more general topic and doesn't only concern def
and defn
so that deserves a separate issue