Being able to bail on error.
See original GitHub issueDescription
Hi there, first of, awesome package!
This is a feature request.
I was wondering if there was a way to bail on error? Currently, I have multiple linters set up, and one of them is quite long to run. Sometimes, other short ones fail before this long one, but we have to wait after every linters to finish their job before exiting the process.
I’m using lint-staged
in a pre-commit hook with husky
.
It’s very useful this way.
Maybe I’m missing a configuration that would let me bail on error, if so I’d love more info on it.
Thank you!
Environment
- OS:macOS Mojave
- Node.js:11.6.0
lint-staged
:8.1.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
6 Reasons Why Bail Can Be Denied
Here are six reasons why in some cases, the judges may deny bail applications. Usually, a judge reviews the criminal records of all...
Read more >Failure to Appear: What Happens If You Skip Bail? |
Being charged with skipping bail is a very serious charge that you should do everything possible to avoid. If you end up missing...
Read more >Common Bail Bond Mistakes
Failing to Notify the Bail Company about Out-Of-State Travel ... By law, a bail company is allowed to revoke a bond without refunding...
Read more >7 Common Bail Bond Mistakes and How to Avoid Them
7 Common Bail Bond Mistakes and How to Avoid Them · 1. Lying · 2. Choosing an Unlicensed Bail Bond Service · 3....
Read more >CODE OF CRIMINAL PROCEDURE CHAPTER 17. BAIL
(f) A magistrate may set bail for a defendant charged only with an offense punishable as a misdemeanor without ordering, preparing, or considering...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It does make sense to me. I’ll re-open the issue if you’re up for working on it.
I’ve just found out that it does bail on error, but only if
concurrent
is set tofalse
. Since we have lots of linters to run, it’s not practical to setconcurrent
tofalse
.Is there a way to kill other jobs when one fails? Even in
concurrent
mode. That would be awesome.