Sha256: 15bae1fb773d25ee0c8171107e1660073f7aebfbbb399b0f12565bd755fd5a62
Contents?: true
Size: 554 Bytes
Versions: 3
Compression:
Stored size: 554 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to jshint command line tool. class JSHint < Base FORMATTER = 'jshint/formatter.js' def languages super(Language::JavaScript) end def version '2.5.11' end private def flags(container, options) [ '--reporter', container.config_path(FORMATTER) ].tap do |flags| flags.concat(['--config', options[:config]]) if options[:config] end 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/jshint.rb |
lint_trap-0.0.14 | lib/lint_trap/linter/jshint.rb |
lint_trap-0.0.13 | lib/lint_trap/linter/jshint.rb |