mattbrictson/nextgen

View on GitHub
template/lib/tasks/stylelint.rake.tt

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

desc "Run Stylelint"
task :stylelint do
  sh "<%= js_package_manager %> run lint:css"
end

namespace :stylelint do
  desc "Autocorrect Stylelint offenses"
  task :autocorrect do
    sh "<%= js_package_manager %> run fix:css"
  end
end