bbatsov/rubocop

View on GitHub
relnotes/v0.58.2.md

Summary

Maintainability
Test Coverage
### Changes

### New features

* [#6105](https://github.com/rubocop/rubocop/issues/6105): Support `{a,b}` file name globs in `Exclude` and `Include` config. ([@mikeyhew][])

* [#6116](https://github.com/rubocop/rubocop/pull/6116): Add `ip` to allowed names of `Naming/UncommunicativeMethodParamName` cop in default config. ([@nijikon][])

### Bug fixes

* [#6103](https://github.com/rubocop/rubocop/pull/6103): Fix a false positive for `Layout/IndentationWidth` when multiple modifiers are used in a block and a method call is made at end of the block. ([@koic][])
* [#6084](https://github.com/rubocop/rubocop/issues/6084): Fix `Naming/MemoizedInstanceVariableName` cop to allow methods to have leading underscores. ([@kenman345][])
* [#6098](https://github.com/rubocop/rubocop/issues/6098): Fix an error for `Layout/ClassStructure` when there is a comment in the macro method to be auto-correct. ([@koic][])
* [#6115](https://github.com/rubocop/rubocop/issues/6115): Fix a false positive for `Lint/OrderedMagicComments` when using `{ encoding: Encoding::SJIS }` hash object after `frozen_string_literal` magic comment. ([@koic][])

[@mikeyhew]: https://github.com/mikeyhew
[@nijikon]: https://github.com/nijikon
[@koic]: https://github.com/koic
[@kenman345]: https://github.com/kenman345