I am having trouble committing some work i've done because i have some commit hooks that are causing me trouble. Often these hooks are useful, but at times they are not. I have two in particular that are causing me problems right now, these being both CoffeeLint and also RuboCop.
In the past when I have had a snag with one of them, and wanted to disregard their suggestions i've ran
SKIP=RuboCop git commit -m "my commit message"
This works well, I am able to commit my work, and progress with whatever I am doing.
However this time, with what I've been working on, i've worked with some deep rails code, and also some angular coffee-script code and as a result triggered two hooks to be flagged in my attempt to commit something.
These hooks now are RuboCop and CoffeeLint
I've tried running
SKIP=CoffeeLint, RuboCop git commit -m "my commit message"
SKIP=CoffeeLintRuboCop git commit -m "my commit message"
SKIP=(CoffeeLint, RuboCop) git commit -m "my commit message"
SKIP=CoffeeLint && RuboCop git commit -m "my commit message"
SKIP=CoffeeLint, SKIP=RuboCop git commit -m "my commit message"
All of these attempts have not worked out for me.
The only other option I have right now besides asking around is uninstalling coffeelint and rubocop (which I'd rather not do)
Would anybody know if there is a possible solution to this interesting situation?
SKIP=CoffeeLint,RuboCop git commit -m "my commit message"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With