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