jumanjihouse / pre-commit-hooks

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

Allow `.bats` extension by `script-must-have-extension` hook #96

Open bruzina opened 2 years ago

bruzina commented 2 years ago

Hook script-must-have-extension fails on a BATS file with .bats extension.

The Google shell style guide doesn't count with shell scripts testing much.

The workaround is very easy though: exclude: .*\.bats$