maltzj / google-style-precommit-hook

A pre-commit hook which will automatically format your code with google's codestyle guidelines!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a "fail if code doesn't match style" mode?

volviq opened this issue · comments

would it be possible to add a mode, which prevents a commit instead of changing the code?
Sometimes legacy code is not according the standard, and a review becomes rather difficult if too many lines changed.