class RuboCop::Runner::InfiniteCorrectionLoop
offenses back and forth.
An exception indicating that the inspection loop got stuck correcting
rubocop:disable Metrics/ClassLength
formatters and letting cops inspect the files.
This class handles the processing of files, which includes dealing with
def initialize(path, offenses)
def initialize(path, offenses) super "Infinite loop detected in #{path}." @offenses = offenses end