This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-01
Channels
- # announcements (3)
- # aws (1)
- # babashka (56)
- # beginners (42)
- # calva (9)
- # cider (6)
- # circleci (5)
- # clj-kondo (17)
- # cljs-experience (1)
- # cljsjs (2)
- # clojure (106)
- # clojure-australia (1)
- # clojure-europe (36)
- # clojure-germany (5)
- # clojure-italy (13)
- # clojure-nl (14)
- # clojure-spec (19)
- # clojure-uk (27)
- # clojurescript (27)
- # cursive (20)
- # datomic (24)
- # events (2)
- # fulcro (11)
- # graalvm (1)
- # jobs (6)
- # lsp (6)
- # malli (5)
- # meander (36)
- # membrane (17)
- # nbb (4)
- # nextjournal (86)
- # off-topic (18)
- # pathom (3)
- # polylith (5)
- # portal (14)
- # rdf (5)
- # re-frame (5)
- # releases (6)
- # remote-jobs (3)
- # reveal (2)
- # ring (6)
- # shadow-cljs (171)
- # tools-deps (61)
- # vim (10)
- # xtdb (6)
Typechecks!
I've got (set! *warn-on-reflection* true)
in a namespace, but clj-kondo is flagging it as an unresolved symbol. When I play with the playground tool, it doesn't have any problem with it, how can I correct my setup?
@winsome is this in a .cljc file? then this is because CLJS doesn't have that and you should put it behind a reader conditional
@winsome, consider, if you wish, voting with a 👍 on https://github.com/clj-kondo/clj-kondo/issues/1196 to make these types of errors clearer.
I'm running clj-kondo as clj-kondo --parallel --lint src --config .clj-kondo/config-ci.edn
but am not seeing CPU go over 100% (a single core), even on a M1X MacBook Pro. Is this expected? I wasn't quite sure what the granularity of parallelism is
@danielcompton sources are grouped per .jar and per source dir, so linting only one dir will happen only on one core
@danielcompton is linting your src too slow?
Yeah, I split it into the 37 next level directories but it only sped it up from 10s to 7s and it only get to about 250% CPU, where it could get up to 800-1000%
Not sure how much the Rosetta translation from Intel to ARM is costing
It is on Whimsical, unfortunately not open source 🙂