bbatsov/rubocop

View on GitHub
relnotes/v0.71.0.md

Summary

Maintainability
Test Coverage
### New features

* [#7084](https://github.com/rubocop/rubocop/pull/7084): Permit to specify TargetRubyVersion 2.7. ([@koic][])
* [#7092](https://github.com/rubocop/rubocop/pull/7092): Node patterns can now use `*`, `+` and `?` for repetitions. ([@marcandre][])

### Bug fixes

* [#7066](https://github.com/rubocop/rubocop/issues/7066): Fix `Layout/AlignHash` when mixed Hash styles are used. ([@rmm5t][])
* [#7073](https://github.com/rubocop/rubocop/issues/7073): Fix false positive in `Naming/RescuedExceptionsVariableName` cop. ([@tejasbubane][])
* [#7090](https://github.com/rubocop/rubocop/pull/7090): Fix `Layout/EmptyLinesAroundBlockBody` for multi-line method calls. ([@eugeneius][])
* [#6936](https://github.com/rubocop/rubocop/issues/6936): Fix `Layout/MultilineMethodArgumentLineBreaks` when bracket hash assignment on multiple lines. ([@maxh][])
* Mark `Layout/HeredocArgumentClosingParenthesis` incompatible with `Style/TrailingCommaInArguments`. ([@maxh][])

### Changes

* [#5976](https://github.com/rubocop/rubocop/issues/5976): Warn for Rails Cops. ([@koic][])
* [#5976](https://github.com/rubocop/rubocop/issues/5976): Warn for `rubocop -R/--rails` option. ([@koic][])
* [#7078](https://github.com/rubocop/rubocop/issues/7078): Mark `Lint/PercentStringArray` as unsafe. ([@mikegee][])

[@koic]: https://github.com/koic
[@marcandre]: https://github.com/marcandre
[@rmm5t]: https://github.com/rmm5t
[@tejasbubane]: https://github.com/tejasbubane
[@eugeneius]: https://github.com/eugeneius
[@maxh]: https://github.com/maxh
[@mikegee]: https://github.com/mikegee