Skip to content

[RUN AS-IF-FOSS] Fix intialize last keyword cop, and autocorrect more occurrences

Thong Kuah requested to merge fix_intialize_last_keyword_cop into master

What does this MR do?

Related issue: #257438 (closed)

  • Fix matching for Lint/LastKeywordArgument cop when new method is called
  • Autocorrect more LastKeywordArgument occurrences for specs. The autocorrector is fairly basic, it just appends **, or converts to kwarg if it's a hash arg.
Edited by Thong Kuah

Merge request reports