Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Update rubocop cop style
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Feb 17, 2016
1 parent 79a8726 commit b3d42fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ AllCops:
- Rakefile
- Thorfile

# This must be disabled for compatibility with knife-cookbook-doc.
Style/LeadingCommentSpace:
Enabled: false

Style/RegexpLiteral:
Exclude:
- Guardfile

Style/SingleSpaceBeforeFirstArg:
Style/SpaceBeforeFirstArg:
Exclude:
- metadata.rb
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end

group :lint do
guard :rubocop do
watch(%r{.+\.rb$})
watch(/.+\.rb/)
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

Expand Down

0 comments on commit b3d42fc

Please sign in to comment.