Take the ignore list for jscs and jshint from .gitignore.
Filtering .js files on jshint.