This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-14
Channels
- # adventofcode (14)
- # announcements (3)
- # babashka (18)
- # beginners (32)
- # calva (1)
- # clj-kondo (65)
- # cljs-dev (5)
- # cljsrn (3)
- # clojure (22)
- # clojure-spec (13)
- # clojure-uk (53)
- # clojured (3)
- # clojuredesign-podcast (50)
- # clojurescript (8)
- # core-async (32)
- # cursive (15)
- # data-science (1)
- # datomic (17)
- # fulcro (48)
- # hyperfiddle (1)
- # off-topic (5)
- # shadow-cljs (2)
- # testing (2)
I've just noticed that parse-ns is memoized so there's probably nothing to optimize
is it a good rule for a CLJS linter to have that when a namespace like [cljs.spec.alpha :as s]
is required, that cljs.spec.alpha$macros
is a valid namespace to use?
e.g. now it produces:
FAIL in (unresolved-namespace-test) (unresolved_namespace_test.clj:23)
expected: (empty? (lint! "(ns foo (:require [foo.bar])) (foo.bar$macros/x)"))
actual: (not (empty? ({:file "<stdin>", :row 1, :col 32, :level :warning, :message "Unresolved namespace foo.bar$macros. Are you missing a require?"})))