Class: SCSSLint::Reporter::FilesReporter
- Inherits:
-
SCSSLint::Reporter
- Object
- SCSSLint::Reporter
- SCSSLint::Reporter::FilesReporter
- Defined in:
- lib/scss_lint/reporter/files_reporter.rb
Overview
Reports a single line per file.
Instance Attribute Summary
Attributes inherited from SCSSLint::Reporter
Instance Method Summary collapse
Methods inherited from SCSSLint::Reporter
Constructor Details
This class inherits a constructor from SCSSLint::Reporter
Instance Method Details
#report_lints ⇒ Object
4 5 6 |
# File 'lib/scss_lint/reporter/files_reporter.rb', line 4 def report_lints lints.map(&:filename).uniq.join("\n") + "\n" if lints.any? end |