Sha256: 500eb82cd3c678dea8100ebb2fdb4389615db06ca6f7ecc22fb4fb497f31f471
Contents?: true
Size: 433 Bytes
Versions: 14
Compression:
Stored size: 433 Bytes
Contents
require 'colorize' module SCSSLint # Reports a single line per lint. class Reporter::DefaultReporter < Reporter def report_lints if lints.any? lints.map do |lint| type = lint.error? ? '[E]'.red : '[W]'.yellow "#{lint.filename.cyan}:" << "#{lint.line}".magenta << " #{type} #{lint.description}" end.join("\n") + "\n" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems