Sha256: 2e44cf053b975a890f844951595af6cbbeb38f0c2fafad0ab41356e3d24e19f5
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
require_relative 'base' module LintTrap module Linter # Encapsulates logic specific to rubocop command line tool. class RuboCop < Base FORMATTER = 'rubocop/formatter.rb' private def flags [ '--require', 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
6 entries across 6 versions & 1 rubygems