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

[Fix #8783] Disable Style/ArrayCoercion cop by default #8792

Merged
merged 1 commit into from Sep 25, 2020

Commits on Sep 25, 2020

  1. [Fix rubocop#8783] Disable Style/ArrayCoercion cop by default

    Fixes rubocop#8783, rubocop#8391, and rubocop#8334.
    
    This PR disables `Style/ArrayCoercion` cop by default.
    Because false positive will occur if the argument of `Array()` is not an array (e.g. Hash, Set),
    an array will be returned as an incompatibility result.
    koic committed Sep 25, 2020
    Copy the full SHA
    19d4857 View commit details
    Browse the repository at this point in the history