Sha256: d32f1c1577b35b50852b1f907b4c432b003950c64e46573f6d875f6833d5d7cb
Contents?: true
Size: 464 Bytes
Versions: 5
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require 'pronto' require 'rubocop' require 'pronto/rubocop/patch_cop' require 'pronto/rubocop/offense_line' module Pronto class Rubocop < Runner def run ruby_patches .select { |patch| patch.additions.positive? } .flat_map { |patch| PatchCop.new(patch, self).messages } end def pronto_rubocop_config @pronto_rubocop_config ||= Pronto::ConfigFile.new.to_h['rubocop'] || {} end end end
Version data entries
5 entries across 5 versions & 1 rubygems