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

Change AllowComments of Lint/SuppressedException to true by default #7805

Merged

Commits on Mar 18, 2020

  1. Change AllowComments of Lint/SuppressedException to true by default

    ## Summary
    
    Follow rubocop#7052 (comment).
    
    This PR changes `AllowComments` option of `Lint/SuppressedException` to
    true by default.
    
    As is used in RuboCop repo itself, it is a common practice to use
    source code comments to explain when exception handling is not performed.
    
    ## Related Information
    
    I think that `Suppressing Exceptions` rule can be refined to a suitable example.
    https://github.com/rubocop-hq/ruby-style-guide#dont-hide-exceptions
    koic committed Mar 18, 2020
    Copy the full SHA
    b23822d View commit details
    Browse the repository at this point in the history