[Fix #1647] Skip Style/SpaceAroundBlockParameters when lambda has no argument by eitoball · Pull Request #1648 · rubocop/rubocop
Style/SpaceAroundBlockParameters cop raises exception when lambda has no argument like: ->() { puts "a" } This PR should fix this problem. Rubocop Version: 0.29.0 (using Parser 2.2.0....