blob: 250fd8699e4b41346e555644f14ece24e990f3b3 (
plain)
| 1
2
3
4
5
6
7
8
9
10
 | unless Rails.env.production?
  require 'scss_lint/rake_task'
  SCSSLint::RakeTask.new do |t|
    t.config = '.scss-lint.yml'
    # See https://github.com/brigade/scss-lint/issues/726
    # Hack, otherwise linter won't respect scss_files option in config file.
    t.files = []
  end
end
 |