- Notifications
You must be signed in to change notification settings - Fork161
Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix#312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
…refixCo-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check theFiles changed tab for more details.
@copilot can you re-examine the original issue and recreate this pull request? |
@copilot Remove the vendor folder checked into this pull request |
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍
c57fc62
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The
Naming/PredicateName
cop has been renamed toNaming/PredicatePrefix
in RuboCop 1.76.0, causing deprecation warnings when using this gem:This PR updates the configuration to use the new cop name and bumps the minimum RuboCop version to 1.76 to ensure compatibility.
Changes:
Naming/PredicateName
toNaming/PredicatePrefix
inconfig/default.yml
>= 1.72
to>= 1.76
in gemspecvendor/
to.gitignore
to prevent bundled gems from being committedVerification:
Fixes#311.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.