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

Add cop to prevent accidental writing to stdout #2917

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Nov 26, 2024

It's easy to accidentally leave in a puts call and cause problems for the LSP.

If we add this, we can also make it available to add-on authors.

This is taken mostly taken from the Output cop in rubocop-rails.

@andyw8 andyw8 added the chore Chore task label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant