LINT ALL THE HAML!

.
.
.
lint *all* the HAML?
This commit is contained in:
Miles Gould committed 2017-02-16 13:30:20 +00:00
1 parent 00c34ef30c
commit 9d6ac9fd8b
1 file changed
+1 -3
+1 -3
View File
@@ -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) }