Sha256: bdb95611411dd043683f53fe88b8a375f42697fcea6bddffdfb56afbc4311f6b

Contents?: true

Size: 318 Bytes

Versions: 24

Compression:

Stored size: 318 Bytes

Contents

module SCSSLint
  # Reports a single line for each clean file (having zero lints).
  class Reporter::CleanFilesReporter < Reporter
    def report_lints
      dirty_files = lints.map(&:filename).uniq
      clean_files = files - dirty_files
      clean_files.sort.join("\n") + "\n" if clean_files.any?
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
scss_lint-0.56.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.55.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.54.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.53.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.52.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.51.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.50.3 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.50.2 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.50.1 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.50.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.49.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.48.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.47.1 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.47.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.46.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.45.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.44.0 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.43.2 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.43.1 lib/scss_lint/reporter/clean_files_reporter.rb
scss_lint-0.43.0 lib/scss_lint/reporter/clean_files_reporter.rb