Use RuboCop
This commit is contained in:
parent
ae8a8f7a09
commit
91360fbbd6
2 changed files with 8 additions and 0 deletions
7
Rakefile
7
Rakefile
|
@ -1 +1,8 @@
|
|||
require "bundler/gem_tasks"
|
||||
|
||||
task default: [:lint]
|
||||
|
||||
task lint: [:rubocop]
|
||||
|
||||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new
|
||||
|
|
|
@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
|
|||
|
||||
spec.add_development_dependency "bundler", "~> 1.10"
|
||||
spec.add_development_dependency "rake", "~> 10.0"
|
||||
spec.add_development_dependency "rubocop", "~> 0.31"
|
||||
end
|
||||
|
|
Reference in a new issue