Skip to content

Force babel compilation check on pre-commit #34

@xnt

Description

@xnt

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions