profile
viewpoint

Ask questionsOld specs need love

Many cop specs still use inspect_source or autocorrect_source. We'll like to deprecated this (see #8003), so they should be refactored to use expect_offense + expect_correction instead (I'd love to have an even nicer API for this).

rubocop/rubocop

Answer questions marcandre

There are still 4 uses of autocorrect_source and 1 of inspect_source in the specs that would ideally be removed

useful!
source:https://uonfu.com/
answerer
Marc-André Lafortune marcandre Montreal, Canada blog.marc-andre.ca ♥ Ruby ♥ Elixir ♥ TypeScript ♥ Core team of Ruby, RuboCop. Author of Backports, ractor-server Maintainer of Parsley.js, Featherlight.js.
Github User Rank List