Open
Description
Instead of linting all the folders under current directory or asking the user to maintain a long list of excludes, it would be far better to detect when the tool is run inside a git repository and perform linting only on tracked files: git ls-files
This would almost remove the need to maintain exclude lists and provide a very good user experience when running the tool for the first time on any repository.
I already used this approach and testing if inside a git repo is also another very simple command.