Add a new `Style/EvalWithLocation` cop by pocke · Pull Request #5173 · rubocop/rubocop
eval can receive a file name and a line number to display actual backtrace. For example: eval <<-RUBY raise rescue p $!.backtrace RUBY # => ["(eval):1:in `<main>'", &...