Add function case checks
Remove useless tests
Ignore dirs starting with "."
Add trailing whitespace check
Remove leftover dependency