lib/rubocop/cop/cop.rb in rubocop-0.48.1 vs lib/rubocop/cop/cop.rb in rubocop-0.49.0

- old
+ new

@@ -79,9 +79,19 @@ given_names.include?(cop_name) || given_names.include?(department.to_s) end + # List of cops that should not try to autocorrect at the same + # time as this cop + # + # @return [Array<RuboCop::Cop::Cop>] + # + # @api public + def self.autocorrect_incompatible_with + [] + end + def initialize(config = nil, options = nil) @config = config || Config.new @options = options || { debug: false } @offenses = []