Skip to content
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

More rubocop #2422

Merged
merged 2 commits into from
Mar 26, 2024
Merged

More rubocop #2422

merged 2 commits into from
Mar 26, 2024

Conversation

dgutov
Copy link
Contributor

@dgutov dgutov commented Mar 26, 2024

Two steps here.

The first tweaks or disables most of the cops that --auto-gen-config commended.

The second is an attempt to fix the "leaky constant" problem that two other cops aim to warn about. I figured that's useful enough to have checked, to avoid this class of test interdependence problems (related: #1165). But the solution is more codegen-ish, so -- see if you like it.

@grape-bot
Copy link

1 Warning
⚠️ Unless you're refactoring existing code or improving documentation, please update CHANGELOG.md.
1 Message
📖 We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Here's an example of a CHANGELOG.md entry:

* [#2422](https://github.com/ruby-grape/grape/pull/2422): More rubocop - [@dgutov](https://github.com/dgutov).

Generated by 🚫 Danger

@dblock dblock merged commit a48754c into ruby-grape:master Mar 26, 2024
39 checks passed
@dblock
Copy link
Member

dblock commented Mar 26, 2024

Great work, thank you!

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.

3 participants