Skip to content

Lint: Enabled: false in 1.1.0 causing error with RuboCop 1.73.2 #33

@matt17r

Description

@matt17r

I just updated all my gems and bin/rubocop stopped working with the error:

Error: configuration for Lint/Syntax cop found in .rubocop.yml
It's not possible to disable this cop.

The blame credit for the ValidationError check in RuboCop suggests it hasn't changed in about 6 years.

Versions:

rubocop 1.73.2
rubocop-performance 1.24.0
rubocop-rails 2.30.3
standard-performance 1.7.0
rubocop-rails-omakase 1.1.0
standard 1.47.0

The offending cop is on line 21.

Adding a specific rubocop version prevents the issue for now: gem "rubocop", "~> 1.71.0"

After limiting Rubocop, the working combination of gems is:

rubocop 1.71.2
rubocop-performance 1.23.1
rubocop-rails 2.29.1
standard-performance 1.6.0
rubocop-rails-omakase 1.0.0
standard 1.45.0

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