Skip to content

Commit

Permalink
Fix code style in Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinakayama committed Dec 12, 2014
1 parent 332088f commit 831daf7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

AllCops:
Include:
- 'Guardfile'
- '**/*.rake'
Exclude:
- 'tmp/**/*'
Expand All @@ -24,6 +25,10 @@ AbcSize:
WordArray:
Enabled: false

RegexpLiteral:
Exclude:
- 'Guardfile'

AlignHash:
# Alignment of entries using hash rocket as separator. Valid values are:
#
Expand Down
4 changes: 2 additions & 2 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ group :red_green_refactor, halt_on_fail: true do
guard :rspec, cmd: 'bundle exec rspec --format Fuubar' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
watch(%r{^spec/support/.+\.rb$}) { "spec" }
watch('spec/spec_helper.rb') { 'spec' }
watch(%r{^spec/support/.+\.rb$}) { 'spec' }
end

guard :rubocop, all_on_start: false, cli: '--format fuubar' do
Expand Down

0 comments on commit 831daf7

Please sign in to comment.