Skip to content

Commit

Permalink
introduce rubocop to fix Ruby's warnings with autocorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Jun 10, 2017
1 parent 580c68b commit e34af13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
AllCops:
TargetRubyVersion: 2.0
DisabledByDefault: true
DisplayCopNames: true
Exclude:
- tasks/**/*.*
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ gemspec
gem 'minitest', '~> 4.0'
gem 'wrong'

gem 'rubocop'

gem 'rake'

# don't try to install redcarpet under jruby
Expand Down

0 comments on commit e34af13

Please sign in to comment.