arthurnn / arthurnn/code-scanning-rubocop

Cop.registry is deprecated

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
20
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I'm getting this warning:

```code-scanning-rubocop-0.6.1/lib/code_scanning/rubocop/rule.rb:10: warning: `Cop.registry` is deprecated. Use `Registry.global` instead.```

Could this be addressed?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in code-scanning-rubocop-0.6.1/lib/code_scanning/rubocop/rule.rb at line 10, where the warning identifies the deprecated call. Check the surrounding RuboCop registry usage and run the repository's available checks; done means the deprecation warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.