Sha256: 4aab374eedae64041f4ef984f78963919c2eb1de89c49fe0f2ff79bcd33a7252
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
def executing_coffee_lint "executing 'coffeelint .'" end def coffee_lint_output output = command_output_for_project_or_file('coffeelint.rb -r .') .split("\n") .reject { |line| !line.match(/✗ #\d+:/) } output.map do |str| str.gsub("\e[32m", '').gsub("\e[0m", '').sub('✗', 'ERROR:') end.join("\n") end
Version data entries
4 entries across 4 versions & 1 rubygems