Sha256: e05cddcc2db3cfbf7d0a45be10b4a542044838a19a88d0d3708b63d694993e06
Contents?: true
Size: 397 Bytes
Versions: 4
Compression:
Stored size: 397 Bytes
Contents
require 'colorize' module SCSSLint 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
4 entries across 4 versions & 1 rubygems