mirror of
https://github.com/usetrmnl/trmnl-liquid.git
synced 2026-04-29 13:43:18 -07:00
This fixes all remaining RuboCop issues. For the rest, I've left RuboCop TODO comments around the troublesome code so we can quickly find and fix further when time allows. The Rakefile is also updated to ensure these checks run locally and in CI. Milestone: patch
18 lines
409 B
Ruby
18 lines
409 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "bundler/setup"
|
|
require "git/lint/rake/register"
|
|
require "reek/rake/task"
|
|
require "rspec/core/rake_task"
|
|
require "rubocop/rake_task"
|
|
|
|
Git::Lint::Rake::Register.call
|
|
Reek::Rake::Task.new
|
|
RSpec::Core::RakeTask.new { |task| task.verbose = false }
|
|
RuboCop::RakeTask.new
|
|
|
|
desc "Run code quality checks"
|
|
task quality: %i[git_lint reek rubocop]
|
|
|
|
task default: %i[quality spec]
|