In 180aacd470 a "pathsToIngore" filter was introduced that didn't work properly and caused all paths to be ignored. This behavior was likely intended to prevent snake_case filename checking on files in the webpackShims directory but that is being properly handled by [check_added_filename](8f9ec7d932/tasks/check_added_filenames.js (L11)).
We limit the amount of moving parts when it comes to parsing our staged
files in git by reusing the files_to_commit utility rather than the
now-defunct collectStagedFiles task.
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.