Skip to content

Commit

Permalink
Add support for Rubocop and Hound CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
futhr committed Jan 23, 2015
1 parent 785de4b commit a784f52
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# Too picky.
LineLength:
Enabled: false

# This should truly be on for well documented gems.
Documentation:
Enabled: false

# Neatly aligned code is too swell.
SingleSpaceBeforeFirstArg:
Enabled: false

# Don't mess with RSpec DSL.
Blocks:
Exclude:
- 'spec/**/*'

# Single quotes are default in Rubocop.
StringLiterals:
EnforcedStyle: single_quotes

SignalException:
Enabled: false

ClassAndModuleChildren:
Enabled: false
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
inherit_from: .hound.yml

AllCops:
Exclude:
- spec/dummy/**/*
- bin/*
- Guardfile
1 change: 1 addition & 0 deletions spree_email_to_friend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'ffaker', '>= 1.25.0'
s.add_development_dependency 'guard-rspec', '>= 4.3.1'
s.add_development_dependency 'pry-rails', '>= 0.3.2'
s.add_development_dependency 'rubocop', '>= 0.24.1'
end

0 comments on commit a784f52

Please sign in to comment.