lib/lint_trap/linter/rubocop.rb in lint_trap-0.0.8 vs lib/lint_trap/linter/rubocop.rb in lint_trap-0.0.9

- old
+ new

@@ -4,9 +4,13 @@ module Linter # Encapsulates logic specific to rubocop command line tool. class RuboCop < Base FORMATTER = 'rubocop/formatter.rb' + def languages + super(Language::Ruby) + end + private def flags [ '--require', config_path(FORMATTER),