This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-06
Channels
- # announcements (3)
- # aws (3)
- # babashka (9)
- # beginners (87)
- # calva (3)
- # chlorine-clover (7)
- # cider (6)
- # clj-kondo (1)
- # cljs-dev (31)
- # cljsrn (7)
- # clojure (26)
- # clojure-berlin (5)
- # clojure-europe (84)
- # clojure-nl (3)
- # clojure-uk (13)
- # clojurescript (39)
- # core-async (4)
- # core-logic (3)
- # cursive (3)
- # datomic (10)
- # devcards (5)
- # duct (2)
- # emacs (3)
- # events (1)
- # fulcro (6)
- # jobs (4)
- # kaocha (12)
- # london-clojurians (1)
- # off-topic (21)
- # other-languages (2)
- # pathom (5)
- # pedestal (1)
- # re-frame (1)
- # reitit (3)
- # remote-jobs (6)
- # reveal (6)
- # sci (34)
- # shadow-cljs (99)
- # tools-deps (99)
hmph, I think I may have figured it out by doing the explicit lein run
instead of referencing the binary
With clojure-lsp, how do you turn off warnings about unused declarations for defn forms which are not used? I'm working on a library, so have numerous defn forms which are not used in the project (apart from the tests of course). All of them have a warning about unused declarations. Looking through the docs, there seems to be config options to manage unused namespaces etc, but nothing which seems applicable for unused defn forms?
#emacs might have more lsp traffic. I think there might be an lsp centric channel as well that might get you more information. That sounds like hopefully it’s covered. Public api of an library seems like a common use case
Yes, I expect public API for a library is a common use case. I use lsp-mode with Javascript and had a similar issue, though it was easy to find the linter option to turn off. With clojure-lsp, not as straight-forward, but I suspect I just need to find out what configure option to set. I'll try some of the emacs groups.