Skip to content

[bug] Update rubocop to 1.6.2 #207

Open
@hjkatz

Description

@hjkatz

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: rubocop/rubocop#12736

Errors look like:


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

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions