This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-17
Channels
- # announcements (3)
- # beginners (107)
- # calva (13)
- # clj-kondo (5)
- # cljsrn (21)
- # clojure (99)
- # clojure-australia (8)
- # clojure-dev (51)
- # clojure-europe (108)
- # clojure-nl (1)
- # clojure-portugal (3)
- # clojure-spec (9)
- # clojure-uk (10)
- # clojurescript (147)
- # component (7)
- # conjure (5)
- # core-async (2)
- # cursive (11)
- # datomic (11)
- # emacs (14)
- # graalvm (163)
- # graalvm-mobile (317)
- # honeysql (15)
- # introduce-yourself (4)
- # jobs (3)
- # lambdaisland (1)
- # lsp (19)
- # luminus (3)
- # malli (17)
- # off-topic (10)
- # pathom (11)
- # reagent (10)
- # remote-jobs (2)
- # ring (1)
- # shadow-cljs (22)
- # test-check (2)
- # testing (5)
- # tools-deps (39)
I am not familiar with clojure-lsp
project, but this (https://github.com/clojure-lsp/clojure-lsp/blob/master/src/clojure_lsp/config.clj#L23) means that clojure-lsp is not reading any clj-kondo/config.edn files? or the copy-configs
option should be enough to make it work?
Yes, all of that is handled by clj-kondo, we don't tell clj-kondo to use specific config, it checks automatically by project config or ~/.config/clj-kondo/config.edn
I have this in .clj-kondo/config.edn
in project root folder
{:linters {:unresolved-symbol {:exclude []}
:unresolved-var {:exclude [sql/raw sql/call sql/format]}}
and yet the Error List to my project is filled with these msgs:@U04V15CAJ can help here but I think you should use the full qualified symbol in the exclude?
@UBSREKQ5Q is the namespace called sql
or is this an alias?
I have this in my own config:
honeysql.util/defalias clojure.core/def
honeysql.helpers/defhelper clojure.core/def
Yeah, if you have the chance to teach the linter instead of suppress the warning, I think it's better
ohh.. nice! thanks @U04V15CAJ I didn't know about this option