Archived
1
0
Fork 0

Use RuboCop

This commit is contained in:
Braiden Vasco 2015-07-25 12:24:48 +05:00
parent ae8a8f7a09
commit 91360fbbd6
2 changed files with 8 additions and 0 deletions

View file

@ -1 +1,8 @@
require "bundler/gem_tasks" require "bundler/gem_tasks"
task default: [:lint]
task lint: [:rubocop]
require 'rubocop/rake_task'
RuboCop::RakeTask.new

View file

@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rubocop", "~> 0.31"
end end