[dev] add newlines sniff
[dev] pre-commit hook verifies all files on HEAD

using --cached does not seem to work properly
[cs] minor