Class: SCSSLint::Reporter::ConfigReporter

Inherits:
SCSSLint::Reporter show all
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

#lints

Instance Method Summary collapse

Methods inherited from SCSSLint::Reporter

descendants, #initialize

Constructor Details

This class inherits a constructor from SCSSLint::Reporter

Instance Method Details

#report_lintsObject



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