Closed jay-meister closed 7 years ago
@JMurphyWeb I think it's a duplicate now see #266 and it is now resolved (thanks @eliascodes ) with this PR #267
Fair dos. Could add a little line to the readme.. I am happy to do this when I have it working.
@JMurphyWeb thanks for reporting this! (and thanks @eliascodes for fixing it!) ❤️ ✅ Please confirm it's working as expected then close the issue. 👍
Seems to be working. I will make PR with README addition.
Using module pre-commit, the
"lint": "path/to/files"
script, and the"pre-commit": ["lint"]
added to our package.json, I can commit a file that fails the linting check.The error is printed to the console, but the file is still committed.
Perhaps some documentation/example of a pre commit hook in action if you have one?