Sha256: aafd2b52610d2d0419b8de6301ad62e983f9ee9f8923e5d6414b98017edd4f48

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

require 'colorize'

module SCSSLint
  class Reporter::DefaultReporter < Reporter
    def report_lints
      lints.map do |lint|
        "#{lint.filename}:".yellow + "#{lint.line} - #{lint.description}"
      end.join("\n")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scss-lint-0.6.5 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.6 lib/scss_lint/reporter/default_reporter.rb