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

Stop using # rubocop:disable Style/RedundantBegin in generated Ruby #412

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

MaxLap
Copy link
Contributor

@MaxLap MaxLap commented Jun 29, 2023

It causes false positive for users using DisableCopsWithinSourceCodeDirective as seen in #406.
Instead, to avoid generating lints from useless begins, add a ensure so that it's not technically useless.

It causes false positive for users using DisableCopsWithinSourceCodeDirective
Instead, to avoid generating lints add a ensure so that it's not technically useless
@MaxLap MaxLap force-pushed the fix_redundant_begin branch from 209d2a3 to 5bc19eb Compare June 29, 2023 00:56
@sds sds merged commit 5354c0b into sds:main Jun 29, 2023
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.

2 participants