Skip to content

Commit

Permalink
watch .rubocop_todo.yml + fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Dec 10, 2014
1 parent dffc18d commit 12376f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/guard/rubocop/templates/Guardfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
guard :rubocop do
watch(%r{.+\.rb$})
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
watch(/.+\.rb$/)
watch(/(?:.+\/)?\.rubocop(?:_todo)?\.yml/) { |m| File.dirname(m[0]) }
end

0 comments on commit 12376f6

Please sign in to comment.