From 9d6ac9fd8ba6b4f52eec2f76e57c9fb4e097e7f4 Mon Sep 17 00:00:00 2001 From: Miles Gould Date: Thu, 16 Feb 2017 13:30:20 +0000 Subject: [PATCH] LINT ALL THE HAML! . . . lint *all* the HAML? --- script/check_static | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/script/check_static b/script/check_static index bce7c783d..576277e0c 100755 --- a/script/check_static +++ b/script/check_static @@ -1,13 +1,11 @@ #!/usr/bin/env ruby -linted_dirs = %w(account_types admin alternate_names comments crops) - .map { |d| "app/views/#{d}" }.join(' ') checks = [ 'script/check_gemfile', 'script/check_contributors_md', 'script/check_conflicts', 'rubocop --display-cop-names --rails', - "haml-lint #{linted_dirs}" + "haml-lint app/views" ] return_values = checks.collect { |t| system(t) }