Skip to content

Instantly share code, notes, and snippets.

@isuke
Created August 4, 2016 01:37
Show Gist options
  • Save isuke/2b1992fcee535a7bf89cecf0a6b042ab to your computer and use it in GitHub Desktop.
Save isuke/2b1992fcee535a7bf89cecf0a6b042ab to your computer and use it in GitHub Desktop.
begin
require 'slim_lint/rake_task'
SlimLint::RakeTask.new do |t|
t.config = '.slim_lint.yml'
t.files = %w(app/views/**/*.slim)
t.quiet = false
end
rescue LoadError
puts 'slim_lint load error'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment