Sha256: 8f5b53dab356f9e4c85f429706795d618ce25959d9a2314049b24b5244e06531
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to checkstyle command line tool. class CheckStyle < Base CHECKS_XML = 'checkstyle/sun_checks.xml' def languages super(Language::Java) end def version '6.6' end def jar "checkstyle/checkstyle_logger-#{version}-all.jar" end private def command_name(_container) 'java' end def flags(container, options) [ '-jar', container.config_path(jar), '-c', options[:config] || container.config_path(CHECKS_XML) ] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.15 | lib/lint_trap/linter/checkstyle.rb |
lint_trap-0.0.14 | lib/lint_trap/linter/checkstyle.rb |
lint_trap-0.0.13 | lib/lint_trap/linter/checkstyle.rb |