Sha256: 4cbfb60b5cd4271bd0d96590ba197f16e3b945d23b84f20077185da7ffcc55b3
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 Bytes
Contents
require_relative 'base' require_relative '../parser/csslint' module LintTrap module Linter # Encapsulates logic specific to csslint command line tool. class CSSLint < Base def languages super(Language::CSS) end private def flags [ '--format=compact' ].tap do |flags| flags.concat(["--config=#{options[:config]}"]) if options[:config] end end def parser(stdout) LintTrap::Parser::CSSLint.new(stdout, container) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.11 | lib/lint_trap/linter/csslint.rb |
lint_trap-0.0.10 | lib/lint_trap/linter/csslint.rb |
lint_trap-0.0.9 | lib/lint_trap/linter/csslint.rb |