Class: LintTrap::Linter::JSHint

Inherits:
Base
  • Object
show all
Defined in:
lib/lint_trap/linter/jshint.rb

Overview

Encapsulates logic specific to jshint command line tool.

Constant Summary collapse

FORMATTER =
'jshint/formatter.js'

Constants inherited from Base

Base::CONFIG_PATH, Base::LintError

Instance Attribute Summary

Attributes inherited from Base

#languages, #parser

Instance Method Summary collapse

Methods inherited from Base

#==, #add_language, #image, #image_version, #initialize, #inspect, #lint, #name

Constructor Details

This class inherits a constructor from LintTrap::Linter::Base

Instance Method Details

#versionObject



9
10
11
# File 'lib/lint_trap/linter/jshint.rb', line 9

def version
  '2.5.11'
end