From 41ca6cc7122e0749de813315f23c7ff08068ee5e Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 29 Jan 2026 23:10:22 +0900 Subject: [PATCH] Add RuboCop to default Rake tasks for automated linting --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 6bfb365..c3fbd8c 100644 --- a/Rakefile +++ b/Rakefile @@ -4,6 +4,9 @@ require 'bundler/setup' require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'rubocop/rake_task' RSpec::Core::RakeTask.new(:spec) -task default: :spec +RuboCop::RakeTask.new + +task default: %i[spec rubocop]