-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting to override lein :pedantic?
?
#957
Comments
This is actually a really great idea, and like all great ideas I can't believe I didn't think of it earlier :-) Cursive fiddles with the Given that, I'm wondering whether we need a flag at all, or whether I should just always disable |
Disabling it would work fine for my use cases. Not sure if others are relying on it being honored in Cursive, but I'd be somewhat surprised if they were. Otherwise it seems like more people would be running into the issues that we do when we do multi-lein-project stuff. |
@cursiveclojure I wonder if there's any update on when this could be implemented? |
@shmish111 the Lein integration is undergoing a massive overhaul, so probably not before that lands. |
@danielcompton @shmish111 Yes, this will be part of the lein overhaul. The good news is that's the main thing I'm working on now, so that should be in the next release containing new functionality (i.e. the next non-bugfix release) |
We use
:pedantic? :abort
a lot in our projects, to make sure we know what versions of things we're shipping.I've filed a few other issues in the past about how this setting makes it pretty difficult to load multiple lein projects into the same Cursive project, but they were mostly about trying to just make it work better, and I understand that it may be very difficult to fix because lein just simply doesn't usually have to deal with multiple projects like this and that makes Cursive's jobs really challenging.
Now I'm wondering if, instead, it might be possible to have a setting in Cursive that allows the developer to define an override value for
:pedantic?
that would be used across all leiningen projects in the single Cursive project. So you'd basically ignore any and all:pedantic?
settings that you found in the multiple leiningen projects, and just force things to use the value that the user provided in the setting.This would effectively allow me to disable
:pedantic?
inside of Cursive while still making sure we use it for tests and builds.If this is possible, it would change my entire approach to working with Cursive. :) In today's world, I almost never open more than one lein project at a time, and I never use
checkouts
, because every time I try, it causes me great pain. :) But it would be exceedingly useful to be able to get over that hurdle.The text was updated successfully, but these errors were encountered: