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

Exclude everything but *.rb from git diff output #42

Closed
wants to merge 1 commit into from
Closed

Exclude everything but *.rb from git diff output #42

wants to merge 1 commit into from

Conversation

rtrv
Copy link

@rtrv rtrv commented Apr 3, 2018

Closes #41

@Envek
Copy link

Envek commented Jul 17, 2018

But what about Gemfile, Rakefile, Guardfile and config.ru? Rubocop checks some ruby files without .rb extension out of the box.

You can check it yourself by executing in your project:

bundle exec rubocop -L | pcregrep -v '.*\.rb$'

@rtrv
Copy link
Author

rtrv commented Jul 17, 2018

@Envek yep, you're right. How about a configurable list of excluded file extensions?

@rtrv rtrv closed this by deleting the head repository May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants