From 0aa07055e03ffc5a0a3bec8efffbc31680f12a34 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sun, 18 Mar 2018 15:43:39 +0530 Subject: [PATCH] New upstream version 10.5.5+dfsg --- lib/tasks/haml-lint.rake | 15 --------------- lib/tasks/rubocop.rake | 5 ----- lib/tasks/scss-lint.rake | 10 ---------- 3 files changed, 30 deletions(-) delete mode 100644 lib/tasks/haml-lint.rake delete mode 100644 lib/tasks/rubocop.rake delete mode 100644 lib/tasks/scss-lint.rake diff --git a/lib/tasks/haml-lint.rake b/lib/tasks/haml-lint.rake deleted file mode 100644 index 5c0cc4990f..0000000000 --- a/lib/tasks/haml-lint.rake +++ /dev/null @@ -1,15 +0,0 @@ -unless Rails.env.production? - require 'haml_lint/rake_task' - require 'haml_lint/inline_javascript' - - # Workaround for warnings from parser/current - # TODO: Remove this after we update parser gem - task :haml_lint do - require 'parser' - def Parser.warn(*args) - puts(*args) # static-analysis ignores stdout if status is 0 - end - end - - HamlLint::RakeTask.new -end diff --git a/lib/tasks/rubocop.rake b/lib/tasks/rubocop.rake deleted file mode 100644 index 78ffccc9d0..0000000000 --- a/lib/tasks/rubocop.rake +++ /dev/null @@ -1,5 +0,0 @@ -unless Rails.env.production? - require 'rubocop/rake_task' - - RuboCop::RakeTask.new -end diff --git a/lib/tasks/scss-lint.rake b/lib/tasks/scss-lint.rake deleted file mode 100644 index 250fd8699e..0000000000 --- a/lib/tasks/scss-lint.rake +++ /dev/null @@ -1,10 +0,0 @@ -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