This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-07
Channels
- # announcements (37)
- # babashka (28)
- # beginners (104)
- # calva (28)
- # cider (32)
- # clj-kondo (35)
- # cljs-dev (4)
- # cljsrn (3)
- # clojure (35)
- # clojure-conj (4)
- # clojure-dev (57)
- # clojure-europe (4)
- # clojure-france (6)
- # clojure-gamedev (1)
- # clojure-germany (1)
- # clojure-hamburg (2)
- # clojure-italy (7)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (11)
- # clojuredesign-podcast (2)
- # clojurescript (36)
- # clojurex (48)
- # core-async (6)
- # cursive (12)
- # data-science (1)
- # datomic (21)
- # defnpodcast (7)
- # duct (1)
- # events (1)
- # fulcro (56)
- # graalvm (30)
- # graphql (5)
- # jobs (1)
- # joker (21)
- # keechma (1)
- # leiningen (4)
- # off-topic (109)
- # parinfer (20)
- # pathom (27)
- # re-frame (4)
- # shadow-cljs (80)
- # spacemacs (18)
- # sql (32)
- # testing (2)
- # tools-deps (32)
- # vim (20)
btw. i have also had another fun static analysis project some time ago: https://github.com/whilo/beichte/. i am not sure how important verified functional purity is to users. it would have to be triggered by metadata, i guess. e.g. putting a purity flag on all defns.
is it just me or does the clj-kondo annotations not work with cursive anymore. I see the warnings in the log "warning: redundant let" but nothing on the code
I'm not in control of any changes to IntelliJ but I'm not aware of any changes to clj-kondo which should break existing editor integration
@coltnz you can try older versions of clj-kondo or older versions of intellij/cursive to be sure
wrote simple github action to annotate diffs with findings from clj-kondo: https://github.com/DeLaGuardo/clojure-lint-action
@delaguardo my mind explodes!
this is docker-based action atm. So you can not use build tools to calculate classpath for linting. But I will switch it to the hosted solution in the next release.
also I’m really appreciate any kind of feedback)
@delaguardo if it's easier in any way, you can also use the clj-kondo uberjar from github and run it using java
(I don't see how that is easier than downloading the binary, but the option is there)
or if it's easier, you can just write a tools.deps/clojure script while using clj-kondo as a lib and invoke it that way
binary or uberjar (I’m more on that approach, because it should work everywhere) a bit easier and also makes github tools caching possible
I did not even knew that issues might be disabled) And this issue is fixed by the way
@delaguardo STDERR should be ignored for JSON parsing. It only is used to print exceptions and such.
Thanks, I’m sure it is ignored. And only used for logging when everything goes bad.
anyway - thanks for noticing)
This is so incredibly cool, @delaguardo.
@U050CT4HR I added it this way: https://github.com/borkdude/clj-kondo/commit/f84eedf9599634beece1660347a0de38c0166d88
lol, just finished listening to the clojurescript podcast for clj-kondo -- some of the content is already somewhat out-of-date because of the speed of dev 🙂