Add Rake task "fix"
This commit is contained in:
parent
87c2499d7e
commit
99b0f3f59e
1 changed files with 2 additions and 0 deletions
2
Rakefile
2
Rakefile
|
@ -14,6 +14,8 @@ RSpec::Core::RakeTask.new
|
||||||
|
|
||||||
task lint: [:rubocop]
|
task lint: [:rubocop]
|
||||||
|
|
||||||
|
task fix: 'rubocop:auto_correct'
|
||||||
|
|
||||||
require 'rubocop/rake_task'
|
require 'rubocop/rake_task'
|
||||||
RuboCop::RakeTask.new
|
RuboCop::RakeTask.new
|
||||||
|
|
||||||
|
|
Reference in a new issue