Fork me on GitHub
#leiningen
<
2023-11-22
>
Reut Sharabani14:11:46

Hello I am trying to apply pedantic :abort to my project. I have 2 nrepl dependencies for some reason. lein deps is saying nrepl is a dependency but it's not specified in my dependencies at all. I checked ~/.lein/profiles and .dir-locals.el but didn't find any clue for nrepl. I am using cider when working which wants to inject nrepl itself and it's causing pedantic to abort. Really frustrating. Any idea where to look / what to do? Can I somehow disable pedantic locally using .dir-locals.el for now?

vemv14:11:23

I normally use this technique https://github.com/clojure-emacs/refactor-nrepl/blob/7cc8365fa910e74e4c6d2d85f4d3d11f8c7e6618/project.clj#L23C4-L26 It's also possible to create a :ci profile that is only activated in CI. Although it's possible to forget doing so, which is why I prefer the former approach.

Reut Sharabani01:11:07

@U45T93RA6 just wanted to update I resorted to adding a profiles.clj file that is git-ignored.

1