Make stack pedantic by default#4045
Conversation
|
I don't have a strong preference here, but I think there's a strong argument to be made for having it both ways - it can definitely be annoying to have e.g. an unused Debug.Trace import fail the build locally while you're still exploring. As long as it's relatively easy to switch back locally I'm fine with changing this. I suppose you'd do that by editing stack.yaml? It's a little inconvenient that that will make the working tree dirty but it's not the end of the world. In any case I think we should omit |
|
I assume you mean the .cabal files? Yeah, that makes sense. purescript-ast.cabal and purescript-cst.cabal already have I would argue that In either case, I think the recommended way to get temporary relief should be to throw a |
Since some new discussion is going on, I thought I should dismiss my prior approval.
|
Oh sorry yes, I did mean purescript.cabal. I'm pretty sure that putting |
|
The |
Oh... huh. That is an excellent, if annoying, point. Okay, so
I tested it in the workflow I described, but I haven't needed to use it in anger yet. |
Description of the change
The purpose of this change is to prevent regrets like this one. Things that cause the build to fail in CI ought to cause the build to fail locally.
Checklist: