completing test coverage
This commit is contained in:
12
Guardfile
12
Guardfile
@ -70,12 +70,12 @@ guard :minitest, spring: "bin/rails test", all_after_pass: true do
|
||||
end
|
||||
|
||||
# ESLint
|
||||
guard :shell, all_on_start: true do
|
||||
watch %r{app/assets/javascripts/*/.*} do |file|
|
||||
system %(echo "ESLint:\033[32m #{file[0]}\033[0m")
|
||||
system %(eslint #{file[0]})
|
||||
end
|
||||
end
|
||||
# guard :shell, all_on_start: true do
|
||||
# watch %r{app/assets/javascripts/*/.*} do |file|
|
||||
# system %(echo "ESLint:\033[32m #{file[0]}\033[0m")
|
||||
# system %(eslint #{file[0]})
|
||||
# end
|
||||
# end
|
||||
|
||||
guard :rubocop, cli: %w(-D -S) do
|
||||
watch(/.+\.rb$/)
|
||||
|
Reference in New Issue
Block a user