This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-03
Channels
- # announcements (4)
- # aws (13)
- # babashka (35)
- # beginners (162)
- # boot (8)
- # calva (5)
- # chlorine-clover (15)
- # cider (64)
- # clj-kondo (20)
- # cljs-dev (29)
- # clojars (6)
- # clojure (166)
- # clojure-europe (3)
- # clojure-finland (6)
- # clojure-france (8)
- # clojure-germany (3)
- # clojure-italy (3)
- # clojure-nl (7)
- # clojure-spec (49)
- # clojure-uk (83)
- # clojurescript (39)
- # clojurex (5)
- # core-typed (2)
- # cursive (3)
- # data-science (17)
- # datascript (3)
- # datomic (22)
- # exercism (5)
- # fulcro (3)
- # jobs-discuss (2)
- # joker (2)
- # kaocha (3)
- # malli (26)
- # off-topic (89)
- # pathom (10)
- # pedestal (14)
- # protorepl (14)
- # re-frame (23)
- # reitit (2)
- # shadow-cljs (27)
- # slack-help (10)
- # spacemacs (14)
- # tools-deps (10)
- # tree-sitter (3)
- # xtdb (19)
- # yada (2)
Hello, I’m having trouble getting rid of a error: #'om.next/path is private
. I added :private-call {:exclude [(om.next/path)]}
to my linters config, but it didn’t help
Thanks, unfortunately I’m still receiving the error. This my entire config, the rest of it works well:
{;; example :lint-as
:lint-as {;; om.next/defui clojure.core/defprotocol
rum.core/defc clojure.core/defn}
:linters
{:unused-binding {:level :off
;; :exclude-destructured-keys-in-fn-args true
}
;; :missing-docstring {:level :warning}
:unused-namespace {:level :off}
:unused-private-var {:level :off}
:unresolved-symbol {:exclude [(om.next/defui)
(om.next/ui)
(om.next/factory)
(om.next/get-query)
(rum.core/defcs) ; would like to add support for this
render
goog.DEBUG]}
:private-call {:exclude [om.next/path]}}}
I'm afraid not, but you can refer to the private var with #'foo/bar
to avoid this warning
maybe we should just document that in the config.md page.
so you can do (def path #'om.next/path)
and then use that
Hi, I'm using clj-kondo in vs code, v 2020.3.20, and seeing this "unused binding" warning when the binding is used inside a syntax-quoted form. Is this a bug? I saw a couple of similar, but not exactly the same, issues on the repo that were closed.
@brandon.ringe you're not actually using the argument unless you put a tilde before the y: ~y
hey folks, I'm a bit late to the clj-kondo game (it's pretty awesome!)... I'm curious to know if this has replaced eastwood
and kibit
, or do folks still use all of them?
@rymndhng For me, clj-kondo
has replaced Joker that I used to run automatically from my editor as a linter. I only used eastwood
occasionally and have only used kibit
once or twice.
Thanks for sharing @seanm.
Something that clj-kondo
really has going for me is the fast execution. On a project at work.. clj-kondo
takes one second... and kibit/eastwood take minutes 🔥
Joker is also very fast, which was why I was using it as a linter from my editor (linting as I type).