Skip to content

Commit

Permalink
Watch .rake files for rubocop style
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel committed Jan 15, 2018
1 parent 181f6f9 commit edbbbbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ end

guard :rubocop, all_on_start: true, cli: RUBOCOP_OPTS do
watch(%r{.+\.rb$})
watch(%r{.+\.rake$})
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

Expand Down

0 comments on commit edbbbbd

Please sign in to comment.