We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AllowedMethods
Lint/Debugger
The methods that Lint/Debugger cop supports are hard-coded now.
https://github.com/rubocop-hq/rubocop/blob/c0ba0398bee24be84cead06f9a55792557d91f5f/lib/rubocop/cop/lint/debugger.rb#L38-L41
This is not useful because users cannot configure methods they want.
Like Lint/RedundantSafeNavigation cop, I suggest AllowedMethods option to Lint/Debugger cop.
Lint/RedundantSafeNavigation
https://github.com/rubocop-hq/rubocop/blob/25c22bc3efed74092d26cadef75447f646cbbf2d/config/default.yml#L1762-L1773
I don't have alternatives.
See the comments below:
save_screenshot
The text was updated successfully, but these errors were encountered:
Fix rubocop#8927 - Add allowed method for Lint/Debugger
6dfdf86
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
The methods that
Lint/Debugger
cop supports are hard-coded now.https://github.com/rubocop-hq/rubocop/blob/c0ba0398bee24be84cead06f9a55792557d91f5f/lib/rubocop/cop/lint/debugger.rb#L38-L41
This is not useful because users cannot configure methods they want.
Describe the solution you'd like
Like
Lint/RedundantSafeNavigation
cop, I suggestAllowedMethods
option toLint/Debugger
cop.https://github.com/rubocop-hq/rubocop/blob/25c22bc3efed74092d26cadef75447f646cbbf2d/config/default.yml#L1762-L1773
Describe alternatives you've considered
I don't have alternatives.
Additional context
See the comments below:
save_screenshot
fromLint/Debugger
#7853 (comment)save_screenshot
fromLint/Debugger
(revival) #8920 (comment)The text was updated successfully, but these errors were encountered: