lib/tasks/slim_lint.rake

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

if %w[development test].include? Rails.env
  require 'slim_lint/rake_task'
  SlimLint::RakeTask.new

  task(:lint).sources.push :slim_lint
end