-
Notifications
You must be signed in to change notification settings - Fork 160
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
…refix 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.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files 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.
👍
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 more Copilot coding agent tips in the docs.