Class: SCSSLint::Reporter::TAPReporter
- Inherits:
-
SCSSLint::Reporter
- Object
- SCSSLint::Reporter
- SCSSLint::Reporter::TAPReporter
- Defined in:
- lib/scss_lint/reporter/tap_reporter.rb
Overview
Reports in TAP format. testanything.org/
Constant Summary collapse
- TAP_VERSION =
'TAP version 13'.freeze
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
7 8 9 10 11 12 13 |
# File 'lib/scss_lint/reporter/tap_reporter.rb', line 7 def report_lints output = [TAP_VERSION, format_plan(files, lints)] return format_output(output) unless files.any? output.concat(format_files(files, lints)) format_output(output) end |