rubocop / guard-rubocop

Guard plugin for RuboCop
MIT License
262 stars 55 forks source link

let user decide if 'run all' behaviour should be enabled #9

Closed leemhenson closed 10 years ago

leemhenson commented 10 years ago

I'm adding guard-rubocop to a large project that has a lot of rubocop failures. Running rubocop from the terminal grinds for a long time, so I want to control guard-rubocop so it only ever runs on changed files and never runs on the entire project.

yujinakayama commented 10 years ago

You can prevent the guard-rubocop's “run all” on Guard startup by specifying all_on_start: false in Guardfile, and guard-rubocop won't run on the entire project unless you type , a or all in the Guard console. If you want to prevent the “run all” on , a or all (it seems you do), I think you should submit a feature request to Guard itself, not to each plugin.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling aec96076ddc004fcdbd443514df71d88b80ca6e3 on musicglue:master into 4e9fcee8740b70b092cb351d28ec83a20e58e735 on yujinakayama:master.