jish / pre-commit

A slightly improved pre-commit hook for git
https://jish.github.io/pre-commit/
Other
796 stars 96 forks source link

The local check prefers underscored file names. #184

Closed jish closed 10 years ago

jish commented 10 years ago

We used to look for a local check script in config/pre-commit.rb. All of the dashes generally come from Git's usage of the pre-commit hook.

However, not everyone uses dashes in their filenames. The local check will now look for (and prefer config/pre_commit.rb over config/pre-commit.rb)

182

mpapis commented 10 years ago

:+1: do we rename our gem internal structure too, I assume the name can/has to stay for git - and for sync with the binary name, but our internal lib/ layout can follow ruby rules