This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-16
Channels
- # 100-days-of-code (16)
- # beginners (67)
- # boot (5)
- # cljs-dev (52)
- # cljsjs (2)
- # clojure (94)
- # clojure-spec (34)
- # clojure-uk (10)
- # clojurescript (91)
- # clojutre (1)
- # core-async (20)
- # cursive (5)
- # datomic (1)
- # figwheel-main (70)
- # fulcro (101)
- # hyperfiddle (3)
- # jobs (1)
- # klipse (16)
- # mount (1)
- # nrepl (3)
- # off-topic (24)
- # portkey (39)
- # re-frame (4)
- # reitit (1)
- # shadow-cljs (3)
- # spacemacs (9)
- # tools-deps (5)
I’m having some trouble with the clojure-lint
lint layer. I got it working on my windows machine once, but I can’t get it working on my Mac. I’ve installed joker (via homebrew) and enabled the layer, but when I open a clojure file with linting errors, I don’t see anything.
@U8QTB156K
Hmm, I just installed it on Ubuntu and it works with Spacemacs develop
. Sorry, that doesnt help you very much.
I assume you restarted Spacemacs after adding clojure-lint
to the .spacemacs
file. And you checked that joker
worked by running it on the command line with a clojure file?
SPC f y y
will copy the path for you or M-: (getenv "PATH")
will display the the exec path that Spacemacs uses in the mini buffer.
(add-to-list 'exec-path "~/.local/bin/")
will add a path to Spacemacs, in this case ~/.local/bin
. If required, add this code to your dotspacemacs/user-config
section of .spacemacs
file. I would advise restarting Spacemacs to ensure this code is evaluated and the path is added, or you can just check the path with the previous command I mentioned
Correct, I did all those things.
If none of that works and you are using the develop
version of Spacemacs, then perhaps pulling the latest commits may fix the problem. It sounds similar to the issue raised here https://github.com/syl20bnr/spacemacs/issues/10851
Thanks @U05254DQM, Ill give that a shot when I get home
@U8QTB156K did you manage to fix the clojure-lint layer problem?
Anyone have any tips? I’m not sure how to begin to debug it.