Sha256: e366041b0bbe5a7b7a51544e0b7c2d3378e01b013acf355e7aeae602e19147d1
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to rubocop command line tool. class RuboCop < Base FORMATTER = 'rubocop/formatter.rb' def languages super(Language::Ruby) end def version '0.31.0' end private def flags(container, options) [ '--require', container.config_path(FORMATTER), '--format', 'LintTrap::Rubocop::Formatter', '--no-color' ].tap do |flags| flags.concat(['--config', options[:config]]) if options[:config] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.15 | lib/lint_trap/linter/rubocop.rb |
lint_trap-0.0.14 | lib/lint_trap/linter/rubocop.rb |
lint_trap-0.0.13 | lib/lint_trap/linter/rubocop.rb |