-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Recognize rails/web-console debug calls in Lint/Debugger #7296
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
Recognize rails/web-console debug calls in Lint/Debugger #7296
Conversation
f10c085
to
33362fa
Compare
My only concern is that the name of the method is a bit generic and might generate false positives in some TTY libraries. :-) |
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.
You'll have to rebase the changes. It looks like Lint/Debugger
has been updated since this PR was created.
33362fa
to
a8b0c12
Compare
@gsamokovarov ping :-) |
fb66a2b
to
74598c6
Compare
74598c6
to
958dfff
Compare
Bozhidar, sorry for the delays. I have recognized both |
Thanks! |
Rails itself has a |
This change introduce a false-positive in Rails railties which has a console hook (executed once
IMO |
I'll look into this, I may leave only |
Dropped |
Rails' Web Console has been around for a while now and I like debugging my applications with it. I recently shipped a
console
call in production (this is what spawns it). While theconsole
call is not a security vulnerability, it results in aNoMethodError
as Web Console is not available in production, I would have loved to have this caught by a linter.Do you think it has a place in
Lint/Debugger
?