clj-kondo

https://github.com/clj-kondo/clj-kondo
Adrian Smith 2020-11-03T10:54:32.304Z

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

borkdude 2020-11-03T10:58:36.304400Z

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

borkdude 2020-11-03T11:04:37.304800Z

@sfyire so feel free to PR a doc change

raymcdermott 2020-11-03T15:18:33.305700Z

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

raymcdermott 2020-11-03T15:19:15.306Z

but why though?

borkdude 2020-11-03T15:23:45.306700Z

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

borkdude 2020-11-03T15:24:13.307100Z

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

raymcdermott 2020-11-03T15:41:52.307300Z

ha! yes

raymcdermott 2020-11-03T15:42:09.307600Z

so that is not in CLJS?

borkdude 2020-11-03T15:42:28.307800Z

nope

raymcdermott 2020-11-03T15:44:45.309900Z

goddam ... TIL

practicalli-john 2020-11-03T15:46:17.310800Z

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 🙂

borkdude 2020-11-03T15:47:17.311300Z

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

dominicm 2020-11-03T21:41:18.311900Z

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