lib/scss_lint/reporter/default_reporter.rb in scss-lint-0.13.0 vs lib/scss_lint/reporter/default_reporter.rb in scss-lint-0.14.0
- old
+ new
@@ -1,7 +1,8 @@
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