Open benwiley4000 opened 5 years ago
The pre-commit prettier-check only validates the version of each file stored on the file system, which means that the check may pass even if the file version staged for commit wouldn't pass.
We might be able to use isomorphic git (https://github.com/isomorphic-git/isomorphic-git) to validate the version of the file staged for commit.
The pre-commit prettier-check only validates the version of each file stored on the file system, which means that the check may pass even if the file version staged for commit wouldn't pass.
We might be able to use isomorphic git (https://github.com/isomorphic-git/isomorphic-git) to validate the version of the file staged for commit.