Sha256: e57d246f5997d9330de6097f0aab5e1992a07e3f53db70d94d38352f5e1001f6

Contents?: true

Size: 284 Bytes

Versions: 7

Compression:

Stored size: 284 Bytes

Contents

require 'colorize'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
scss-lint-0.10.1 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.10.0 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.9.0 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.7.1 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.7.0 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.6.7 lib/scss_lint/reporter/default_reporter.rb
scss-lint-0.6.6 lib/scss_lint/reporter/default_reporter.rb