This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-24
Channels
- # announcements (3)
- # aws (5)
- # babashka (10)
- # beginners (61)
- # calva (22)
- # clara (9)
- # clj-kondo (8)
- # cljdoc (8)
- # cljsrn (15)
- # clojure (44)
- # clojure-australia (2)
- # clojure-europe (31)
- # clojure-hungary (20)
- # clojure-nl (5)
- # clojure-uk (3)
- # core-logic (2)
- # cursive (2)
- # data-science (2)
- # datalevin (4)
- # datascript (6)
- # datomic (17)
- # defnpodcast (1)
- # figwheel-main (1)
- # fulcro (18)
- # graalvm (2)
- # introduce-yourself (2)
- # jobs (1)
- # jobs-discuss (59)
- # lsp (44)
- # music (1)
- # nrepl (2)
- # off-topic (26)
- # pedestal (2)
- # re-frame (12)
- # reagent (27)
- # releases (1)
- # remote-jobs (4)
- # rewrite-clj (2)
- # sci (12)
- # shadow-cljs (12)
- # sql (10)
- # uncomplicate (6)
- # vim (12)
- # xtdb (2)
what would be the best way to lint-as applied-science.js-interop/let
as let? a form looks like this:
(j/let [^:js {:keys [velocity position uuid]} b] {:velocity velocity :position position :uuid uuid})
clj-kondo complains about velocity
being an unresolved symbol.It's not exactly let
obviously because of the ^:js
thing
ok let me try again
ok yes sorry that works. i am probably doing something unclever but i am seeing this for the :lint-as
declaration in the require block:
> warning: Unresolved namespace applied-science.js-interop. Are you missing a require?
(ns smash.physics
{:clj-kondo/config {:lint-as {applied-science.js-interop/let clojure.core/let}}}
(:require
[sitefox.ui :refer [log]]
[applied-science.js-interop :as j]
["matter-js/build/matter" :as Matter]))