Skip to content

Commit

Permalink
add rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarchie committed Feb 10, 2016
1 parent 541ed7a commit 2f761f9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This is the configuration used to check the rubocop source code.

Style/Encoding:
Enabled: true

Metrics/LineLength:
Enabled: false

require: rubocop-rspec

RSpec/FilePath:
Enabled: false

Performance/RedundantMatch:
Enabled: false

AllCops:
TargetRubyVersion: 1.9
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ group :test do
gem 'rspec-instafail'
gem 'pry'
end

group :development do
gem 'rubocop'
gem 'rubocop-rspec'
end
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ GIT
GEM
remote: https://rubygems.org/
specs:
ast (2.2.0)
coderay (1.1.0)
diff-lcs (1.2.5)
method_source (0.8.2)
parser (2.3.0.4)
ast (~> 2.2)
powerpack (0.1.1)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rainbow (2.1.0)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
Expand All @@ -29,7 +34,16 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
rubocop (0.37.1)
parser (>= 2.3.0.4, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 0.3)
rubocop-rspec (1.3.1)
ruby-progressbar (1.7.5)
slop (3.6.0)
unicode-display_width (0.3.1)

PLATFORMS
ruby
Expand All @@ -39,6 +53,8 @@ DEPENDENCIES
pry
rspec
rspec-instafail
rubocop
rubocop-rspec

BUNDLED WITH
1.10.6

0 comments on commit 2f761f9

Please sign in to comment.