You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@miguno At the moment the only way to do this is to pass directories to the rubycritic command.
It could be something like this:
rubycritic app lib
Then it will only analyze files in those directories.
There is already an issue related to the configuration file over here (#30) -- so I'm going to close this as a duplicate. Feel free to comment on #30 or submit a PR with an initial implementation of a configuration file. 👍🏼
First, thanks for your work on this!
My question: How can I ignore a specific file or particular file pattern? Is this supported?
Prior issues
I only found an older discussion #11 from 2014, but rubycritic has progressed since—such as supporting a
.rubycritic.yml
config file.Background
Imagine this
.rubycritic.yml
file:Here, how can I exclude a specific file such as
db/queue_schema.rb
?Think:
The text was updated successfully, but these errors were encountered: