Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check only files tracked by git #22

Open
kowal opened this issue Nov 5, 2015 · 2 comments
Open

Check only files tracked by git #22

kowal opened this issue Nov 5, 2015 · 2 comments

Comments

@kowal
Copy link
Contributor

kowal commented Nov 5, 2015

For Rubocop I often get warnings about offences in files, which I create only locally (some scripts) - they are not tracked by git however Rubocop (and possibly other tools) complain about them.

Maybe it would be possible to configure all tools to ignore files not tracked by git.

@gajewsky
Copy link

Also it would be really nice to allow to ignore specific directories/files from all checks, even if they are tracked by git. For now we can only ignore rspec_files_structure and final_blank_line.

@kowal
Copy link
Contributor Author

kowal commented Apr 18, 2016

Issue was reported to Rubocop long time ago (rubocop/rubocop#595).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants