Skip to content

Conversation

@larouxn
Copy link

@larouxn larouxn commented Jan 15, 2026

Modernizes the RuboCop usage by migrating the config from require to plugins and upgrade rubocop-shopify gem to latest to address Nameing/PredicateName deprecation warning as shown below.

Reference

🎩 🎩 🎩 🎩 🎩

main behaviour

 bundle exec rubocop
rubocop-performance extension supports plugin, specify `plugins: rubocop-performance` instead of `require: rubocop-performance` in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.

Warning: The `Naming/PredicateName` cop has been renamed to `Naming/PredicatePrefix`.
(obsolete configuration found in /home/larouxn/.gem/ruby/4.0.1/gems/rubocop-shopify-2.17.0/rubocop.yml, please update it)
Warning: The `Naming/PredicateName` cop has been renamed to `Naming/PredicatePrefix`.
(obsolete configuration found in .rubocop.yml, please update it)
Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

Inspecting 36 files
Warning: Using `Naming/PredicateName` configuration in /home/larouxn/src/github.com/larouxn/money/.rubocop.yml for `Naming/PredicatePrefix`.

....................................

36 files inspected, no offenses detected

this branch

 bundle exec rubocop
Inspecting 36 files
....................................

36 files inspected, no offenses detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant