lib/lint_trap/linter/jshint.rb in lint_trap-0.0.11 vs lib/lint_trap/linter/jshint.rb in lint_trap-0.0.13
- old
+ new
@@ -8,14 +8,18 @@
def languages
super(Language::JavaScript)
end
+ def version
+ '2.5.11'
+ end
+
private
- def flags
+ def flags(container, options)
[
- '--reporter', config_path(FORMATTER)
+ '--reporter', container.config_path(FORMATTER)
].tap do |flags|
flags.concat(['--config', options[:config]]) if options[:config]
end
end
end