diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-03-16 01:24:06 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-03-16 01:24:06 +0300 |
commit | ecfa6cd75bc0f1e003928f07f30446003a0f9875 (patch) | |
tree | 6e4212708c362c0d4e086068fe6de9ead695bf80 /lib/tasks | |
parent | 7ae573c75ac51413c04249f77ed8ca4e144b7549 (diff) | |
parent | a80b49ba1ac8ab54fd130ed889ecfbd0dccf81af (diff) |
Merge branch 'master' into git-2-7-3
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/scss-lint.rake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tasks/scss-lint.rake b/lib/tasks/scss-lint.rake new file mode 100644 index 00000000000..250fd8699e4 --- /dev/null +++ b/lib/tasks/scss-lint.rake @@ -0,0 +1,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 |