lib/rubocop/cop/style/line_end_concatenation.rb in rubocop-0.48.1 vs lib/rubocop/cop/style/line_end_concatenation.rb in rubocop-0.49.0
- old
+ new
@@ -27,9 +27,13 @@
COMPLEX_STRING_EDGE_TOKEN_TYPES = %i[tSTRING_BEG tSTRING_END].freeze
HIGH_PRECEDENCE_OP_TOKEN_TYPES = %i[tSTAR2 tPERCENT tDOT
tLBRACK2].freeze
QUOTE_DELIMITERS = %w[' "].freeze
+ def self.autocorrect_incompatible_with
+ [Style::UnneededInterpolation]
+ end
+
def investigate(processed_source)
processed_source.tokens.each_index do |index|
check_token_set(index)
end
end