No reason to reinvent the wheel here. We already determine the root path of the project in our grunt config, so we just use that instead.
We removed the snake case check during precommit because it was interfering with us getting features merged when dealing with legacy files, but we do want to verify that any new files added have snake cased names.