Class: SCSSLint::Reporter::ConfigReporter
- Inherits:
-
SCSSLint::Reporter
- Object
- SCSSLint::Reporter
- SCSSLint::Reporter::ConfigReporter
- Defined in:
- lib/scss_lint/reporter/config_reporter.rb
Overview
Returns a YAML configuration where all linters are disabled which caused a lint.
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
5 6 7 |
# File 'lib/scss_lint/reporter/config_reporter.rb', line 5 def report_lints { 'linters' => disabled_linters }.to_yaml unless lints.empty? end |