This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-21
Channels
- # announcements (4)
- # architecture (161)
- # autochrome-github (7)
- # babashka (61)
- # beginners (42)
- # calva (24)
- # cider (22)
- # clj-kondo (28)
- # cljs-dev (8)
- # clojure (88)
- # clojure-art (2)
- # clojure-dev (7)
- # clojure-europe (43)
- # clojure-germany (2)
- # clojure-nl (2)
- # clojure-uk (4)
- # clojurescript (32)
- # core-async (41)
- # cursive (32)
- # datahike (6)
- # datomic (9)
- # emacs (22)
- # events (2)
- # fulcro (10)
- # graphql (1)
- # nextjournal (16)
- # off-topic (9)
- # overtone (1)
- # pathom (16)
- # polylith (5)
- # quil (7)
- # rdf (1)
- # re-frame (7)
- # reagent (22)
- # releases (2)
- # remote-jobs (1)
- # reveal (12)
- # sci (1)
- # shadow-cljs (12)
- # specter (20)
- # sql (6)
- # tools-deps (21)
- # vim (26)
- # xtdb (10)
At Nubank we noticed that thrown?
was being warned as :unresolved-symbol
in a project, after a lot of debugging and unnecessary cache cleaning ๐ we found that when you add a custom exclude config of a linter, clj-kondo stop considering its global config, in this case the global config for thrown? https://github.com/clj-kondo/clj-kondo/blob/master/src/clj_kondo/impl/config.clj#L57, so we needed to include this manually on our config which most users probably won't expect that right?
we had this at our config:
:linters {:unresolved-symbol {:exclude #{a-custom-function}}}
hello, I notice something with the auto-include feature in kondo, seems like it requires that the library has 2 segments (directories) to pick up, in the case of Promesa which has a single one, it does auto import, but doesn't auto load it, is this expected?
Another reason why it didn't work yesterday @U8WFYMFRU
Cool will try that, thought it was working but turned out to just be a delay before raising errors. Ended up going back to local config.edn lint-as, will try it again and try renaming it.
sorry about that, was my fault, I sent it there and missed the segment
PR to fix is up: https://github.com/funcool/promesa/pull/101
@wilkerlucio Thanks for adding that config, hope that can be fixed in promesa.