This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-07
Channels
- # aleph (1)
- # announcements (1)
- # babashka (3)
- # beginners (89)
- # biff (5)
- # cider (25)
- # clj-kondo (2)
- # cljs-dev (10)
- # clojure (57)
- # clojure-brasil (2)
- # clojure-europe (35)
- # clojure-norway (4)
- # clojure-uk (1)
- # clojurescript (2)
- # cursive (3)
- # datomic (11)
- # dev-tooling (4)
- # events (1)
- # hyperfiddle (16)
- # malli (10)
- # polylith (19)
- # releases (2)
- # slack-help (6)
- # xtdb (8)
I want https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#inline-macro-configuration for clojurescript macros, but am having difficulty setting it up. I have in utils.clj:
(ns slix.utils)
(defmacro with-simple-subs
{:clj-kondo/ignore [:unresolved-symbol]}
[subs & body]
`(let [~@(apply concat (map to-simple-sub subs))]
~@body))
and in utils.cljs:
(ns slix.utils
(:require-macros [slix.utils :refer [with-simple-subs]]))
(with-simple-subs [a b c])
I get linting errors in a, b, and c, when I expect those linting errors to be ignored.