We've been using hound for a while now and have been struggling with hound rules not matching our rubocop rules. According to rubocop, this matcher is allowed when changing to do-end would change the behavior of the block, and has been accepted since version 0.11.0.
On our pull requests, hound is detecting this as a violation, when it shouldn't be
The docs mention that we can specify a rubocop version, but they aren't clear if that's meant to replace the ruby config, which was added upon initial setup. I've tried different combinations of rubocop and ruby configs (including removing either block entirely) but the violation is still being detected.
Any suggestions on how to fix this, or is this a bug? According to your configuration documentation, 1.22. is a valid version that you support, but the rule itself has been around for a long time anyway and is supported by the default rubocop version.
We've been using hound for a while now and have been struggling with hound rules not matching our rubocop rules. According to rubocop, this matcher is allowed when changing to
do-end
would change the behavior of the block, and has been accepted since version 0.11.0.On our pull requests, hound is detecting this as a violation, when it shouldn't be
Here is our current configuration:
The docs mention that we can specify a rubocop version, but they aren't clear if that's meant to replace the
ruby
config, which was added upon initial setup. I've tried different combinations of rubocop and ruby configs (including removing either block entirely) but the violation is still being detected.Any suggestions on how to fix this, or is this a bug? According to your configuration documentation, 1.22. is a valid version that you support, but the rule itself has been around for a long time anyway and is supported by the default rubocop version.