jumanjihouse / pre-commit-hooks

git pre-commit hooks that work with http://pre-commit.com/
MIT License
114 stars 52 forks source link

forbid-space-in-indent should only run on text files #69

Open MinerSebas opened 4 years ago

MinerSebas commented 4 years ago

Currently, the forbid-space-in-indent hook is run over all files, but it should have a types: ['text'] in the pre-commit-hooks.yaml to not iterate over binary files.