This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-22
Channels
- # announcements (2)
- # babashka (18)
- # beginners (87)
- # calva (22)
- # chlorine-clover (5)
- # cider (11)
- # clj-kondo (10)
- # clojure (71)
- # clojure-austin (1)
- # clojure-norway (6)
- # clojure-uk (13)
- # clojurescript (3)
- # core-async (10)
- # data-science (17)
- # datascript (1)
- # datomic (22)
- # emacs (10)
- # fulcro (32)
- # hoplon (8)
- # jobs-discuss (2)
- # malli (5)
- # meander (5)
- # nrepl (35)
- # off-topic (8)
- # pathom (38)
- # planck (21)
- # re-frame (10)
- # reagent (17)
- # reitit (7)
- # shadow-cljs (26)
- # tools-deps (3)
- # xtdb (7)
Time flies, but clj-kondo and sci I think are the best thing to happen to Clojure's ecosystem after cider(and orchard)
damn, CLJS analyser does not like multiple requires
Only one :require form is allowed per namespace definition at line 1 src\app\lib\react\mixin\data_table.cljc
and this case is not warned as incorrectly ordered
(:require
[app.lib.html.icon :as icon]
[app.lib.react.component :as component]
[app.lib.react.mixin.push-state :as push-state]
[app.lib.react.mixin.static-args :as static-args]
[app.lib.react.util :as react-util]
[cuerdas.core :as cuerdas]
[rum.core :as rum]
#?(:cljs [app.lib.util.history :as history])
#?(:cljs [xlsx]))
expected: requires in reader conditionals do not have a defined sort order, so they are ignored
@serioga they are, but if you do clojure-sort-ns in emacs, all reader conditionals go on top for example. because editors have different ways of dealing with reader conditionals, I have disabled that linter for reader conditionals, because it's a source of conflict between the linter and editor tooling
hm, but in this case reader conditionals work for order analyser...
(:require
[app.lib.react.component :as react-component]
#?@(:clj [[app.lib.react.mixin.push-state :as push-state]
[cemerick.url :as url]
[cuerdas.core :as cuerdas]
[ring.util.request :as ring-request]]
:cljs [[rum.core :as rum]])
[app.lib.util.transit :as transit])