queen-raae / gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
https://gatsby-remark-oembed.netlify.com/
MIT License
162 stars 25 forks source link

Consider adding lint-staged to be used with husky for a Git pre-commit hook #120

Closed nickytonline closed 2 years ago

nickytonline commented 3 years ago

It's great that the project is already using the husky package for Git hooks. Currently there is a Git pre-push hook. Consider a pre-commit hook using lint-staged. Having a pre-commit hook can lint (potentially fix issues), run prettier and also be able to run tests related to the files being changed.

For an example of this in the wild, see https://github.com/forem/forem/blob/master/package.json#L30-L75

Documents and Links

raae commented 3 years ago

Yeah, that would be great!

raae-bot commented 2 years ago

:tada: This issue has been resolved in version 0.2.0-next.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

raae-bot commented 2 years ago

:tada: This issue has been resolved in version 0.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: