Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
False positive for parentheses removal in splatted calls
Ahem, this is yet-another-false-positive for the `omit_parentheses` style of the `Style/MethodCallWithArgsParentheses` cop. If you are splatting the result of a call, you may end up with the following: ```ruby app/controllers/foo/bar_controller.rb:4:68: C: Style/MethodCallWithArgsParentheses: Omit parentheses for method calls with arguments. render json: FieldSearch.with(search_params).map(&method(:serialize)) ^^^^^^^^^^^^ ```
- Loading branch information