This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-19
Channels
- # announcements (7)
- # aws (4)
- # aws-lambda (1)
- # babashka (19)
- # beginners (60)
- # calva (9)
- # chlorine-clover (3)
- # cider (15)
- # clj-kondo (17)
- # clojure (34)
- # clojure-czech (1)
- # clojure-europe (96)
- # clojure-nl (2)
- # clojure-uk (46)
- # clojurescript (20)
- # css (4)
- # cursive (58)
- # data-science (3)
- # datascript (3)
- # datomic (42)
- # depstar (30)
- # dirac (4)
- # emacs (1)
- # etaoin (5)
- # events (1)
- # figwheel-main (30)
- # fulcro (6)
- # helix (9)
- # jobs (1)
- # lumo (3)
- # malli (27)
- # off-topic (15)
- # pathom (11)
- # programming-beginners (6)
- # reitit (6)
- # rewrite-clj (11)
- # shadow-cljs (14)
- # sql (1)
- # tools-deps (18)
- # utah-clojurians (3)
Any idea how to silence the linter errors for the naked (action [] …)
and (remote [] …)
definitions inside fulcro's defmutation
macro? 🙂
@avocade you can always put a #_:clj-kondo/ignore
on it, if you can't solve it any other way. I'm not familiar with those macros
Is a PR welcome for https://github.com/borkdude/clj-kondo/issues/1042?
@jaihindhreddy yes please - are you also using that in format?
Nope. The mere existence of false-positives bugs me for some reason 😅
I did use relative indexing once for some online puzzle (before clj-kondo, a while ago)
https://github.com/borkdude/clj-kondo/pull/1045. (The checks ran successfully.)
@jaihindhreddy I think we might as well just do (.charAt ^String s 1)
instead of nth, since we know it's a string and don't need the polymorphic behavior which just wastes CPU cycles
Yeah, considered it, and thought it might be a premature optimisation.
In retrospect, the string is created within the function, and I'm just wasting CPU with nth
.
Changing.
https://github.com/borkdude/clj-kondo/issues/378 seems like a false flag. Perhaps it can be closed.