This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-03
Channels
- # announcements (12)
- # beginners (44)
- # boot (27)
- # calva (73)
- # cider (1)
- # clj-kondo (9)
- # cljdoc (9)
- # cljs-dev (15)
- # cljsrn (6)
- # clojure (90)
- # clojure-dev (5)
- # clojure-europe (4)
- # clojure-ireland (3)
- # clojure-italy (22)
- # clojure-mexico (2)
- # clojure-nl (8)
- # clojure-uk (32)
- # clojurescript (12)
- # core-async (2)
- # cursive (16)
- # data-science (10)
- # datascript (3)
- # datomic (44)
- # emacs (17)
- # events (4)
- # graalvm (1)
- # hoplon (5)
- # jackdaw (17)
- # keechma (11)
- # nrepl (7)
- # off-topic (24)
- # re-frame (19)
- # reitit (4)
- # rewrite-clj (2)
- # robots (9)
- # shadow-cljs (20)
- # sql (12)
- # testing (4)
- # tools-deps (23)
- # vim (55)
random clj-kondo tip: to exclude all cljsjs.* namespaces from being warned about as unused, use this config:
{:linters
{:unused-namespace
{:exclude ["cljsjs\\..*"]}}}
Kinda like this idea for expressing: this namespace is only required for side-effects (loading specs, loading a foreign lib, etc). (ns foo (:require (my-side-effecting.ns) [normal.ns])) clj-kondo could take that into account - feedback?
somewhat related discussion: https://github.com/clojure-emacs/refactor-nrepl/pull/189
actually I really like the manual (require 'side-effecting.ns)
idea below the (ns)
form
@thenonameguy yeah, but that doesn’t fly in CLJS