You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on upgrading from 1.44.0 to 1.45.0, and I'm finding that 1.45.0 enables the new Style/HashSlice cop is a bit buggy and is failing on a piece of my code that can't actually use .slice like it recommends.
I've reported this bug to RuboCop itself but also wanted to surface it here because it doesn't seem fully ready for inclusion in a curated linter like standard.
Here's an example script that demonstrates the problem:
I'm working on upgrading from 1.44.0 to 1.45.0, and I'm finding that 1.45.0 enables the new
Style/HashSlice
cop is a bit buggy and is failing on a piece of my code that can't actually use.slice
like it recommends.I've reported this bug to RuboCop itself but also wanted to surface it here because it doesn't seem fully ready for inclusion in a curated linter like standard.
Here's an example script that demonstrates the problem:
When I run this, here's the output I get:
...but there's no way to use
.slice(...)
here.Should
Style/HashSlice
be disabled by standardrb until the bugs are fixed in it?The text was updated successfully, but these errors were encountered: