You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had a couple of instances where I (or another contributor) forget to add a , to one of the items in the messages array. I thought this would be caught by eslint, but apparently it isn't 🤷♂️.
So let's try to hook the full babel compilation (and assert a successful result) to the pre-commit. I suspect this might be as easy as adding the command to the pre-commit hook in husky.
The text was updated successfully, but these errors were encountered:
Hello @xnt
eslint is able to caught the missing commas at pre-commit stage. I'm able to test it and it is failing the commit.
Possible reason might be, non availability of husky package in node_modules.
I've had a couple of instances where I (or another contributor) forget to add a
,
to one of the items in the messages array. I thought this would be caught by eslint, but apparently it isn't 🤷♂️.So let's try to hook the full babel compilation (and assert a successful result) to the pre-commit. I suspect this might be as easy as adding the command to the pre-commit hook in husky.
The text was updated successfully, but these errors were encountered: