summaryrefslogtreecommitdiff
path: root/lib/tasks/haml-lint.rake
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-09-13 18:56:00 +0200
committerRémy Coutable <remy@rymai.me>2016-09-13 18:56:00 +0200
commitbb406cadfeeee3f56ff046ec3013ce4b277d90d6 (patch)
tree28268d27f0454d5d1fa7de64c3ec656ee0d6b0e6 /lib/tasks/haml-lint.rake
parent9e34c57d5e698b7ef88c51051f17ea943d6b0bc0 (diff)
downloadgitlab-ce-rc-use-haml_lint.tar.gz
Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entryrc-use-haml_lint
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/tasks/haml-lint.rake')
-rw-r--r--lib/tasks/haml-lint.rake5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tasks/haml-lint.rake b/lib/tasks/haml-lint.rake
index 80f70820853..609dfaa48e3 100644
--- a/lib/tasks/haml-lint.rake
+++ b/lib/tasks/haml-lint.rake
@@ -1,8 +1,5 @@
unless Rails.env.production?
require 'haml_lint/rake_task'
- HamlLint::RakeTask.new do |t|
- t.config = '.haml-lint.yml'
- t.files = ['app/views']
- end
+ HamlLint::RakeTask.new
end