sheerun / prettier-standard

Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)
MIT License
868 stars 44 forks source link

Add pre-commit script to example #47

Closed maecapozzi closed 6 years ago

maecapozzi commented 6 years ago

When I was setting up prettier-standard in my project, I got stuck when following the current example in the README. Because no pre-commit script was included in the example, I never included it, and then could not figure out why my git hooks weren't running.

I know this problem isn't specific to prettier-standard, but because you're providing example, I think it should be more fleshed out.

I also wrote a blog post with an example of how to set this up, if that would be useful for this README.

sheerun commented 6 years ago

Thanks :)