airbnb / airbnb/ruby

[bug] Update rubocop to 1.6.2

Open
#207 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
3.9k
Forks
756
PR merge metrics
No merged PRs in 30d

Description

Release 1.6.1 includes an incorrect autocorrect for rule `Layout/SpaceInsideHashLiteralBraces` and y'all's recent release to rubygems.org has introduced this for our builds (and possibly others).

See: https://github.com/rubocop/rubocop/releases/tag/v1.62.0

See fix: https://github.com/rubocop/rubocop/issues/12736

Errors look like:
```

lib/redacted/services/redacted_spec.rb:37:25: C: [Correctable] Layout/SpaceInsideHashLiteralBraces: Space inside empty hash literal braces detected.
--
  | replacements = { ...

...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.