lib/lint_trap/language/json.rb in lint_trap-0.0.6 vs lib/lint_trap/language/json.rb in lint_trap-0.0.7
- old
+ new
@@ -4,10 +4,10 @@
module LintTrap
module Language
# JSON
class JSON < Base
def linters
- [Linter::JSONLint]
+ [Linter::JSONLint].map(&:new)
end
end
end
end