Add 'rake format:apply'

This commit is contained in:
0x1eef 2024-09-16 18:02:46 -03:00
parent ca8fe77554
commit 590e912066
2 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,9 @@
# frozen_string_literal: true
namespace :format do
desc "Apply all formats"
task apply: %i[format:rubocop:apply format:eslint:apply]
desc "Run rubocop (Ruby)"
task :rubocop do
sh "bundle exec rubocop --config etc/rubocop.yml"