lib/lint_trap/linter/jshint.rb in lint_trap-0.0.8 vs lib/lint_trap/linter/jshint.rb in lint_trap-0.0.9
- old
+ new
@@ -4,9 +4,13 @@
module Linter
# Encapsulates logic specific to jshint command line tool.
class JSHint < Base
FORMATTER = 'jshint/formatter.js'
+ def languages
+ super(Language::JavaScript)
+ end
+
private
def flags
[
'--reporter', config_path(FORMATTER)