Fork me on GitHub
#clj-kondo
<
2020-11-03
>
Adrian Smith10:11:32

Is it worth down playing the documentation for file watchers in intellji? It's such a hacky experience in comparison to the LSP approach - I can't think of any reason why you would want to use the file watchers over LSP, but the docs look more imposing for beginners with it in

borkdude10:11:36

I don't use IntelliJ myself so whatever the community thinks is good, I'll take it

borkdude11:11:37

@sfyire so feel free to PR a doc change

genRaiy15:11:33

I'm getting a warning > unresolved symbol the-ns

genRaiy15:11:15

but why though?

borkdude15:11:45

Without more context, I can't reproduce the problem.

borkdude15:11:13

My guess is that you're in .cljc and you're not using the code in a :clj branch

genRaiy15:11:09

so that is not in CLJS?

genRaiy15:11:45

goddam ... TIL

practicalli-johnny15:11:17

clj-kondo tells me off if I use :some-other-keyword rather than :else as the last thing in a cond expression. Can I add a config to say just detect a keyword, rather than a specific :else keyword. Or should I just follow the clojure style guide and not be quirky 🙂

dominicm21:11:18

What a strange choice instead of :else... 😉

borkdude15:11:17

@jr0cket That rule comes straight from the community clojure style guide, and you can turn that rule off