2.1.0
Thank you for reading our release notes! I'm never sure if folks really check this out. After all, if a tree falls in a forest but it doesn't introduce breaking changes, does it count as a release? Anyway, here's what's new:
- We now require RuboCop 1.13 and up.
- Inherit mode is now set to merge configs for inclusions and exclusions. In case you want to completely override exclusions and inclusions, you might need to explicit configure your preferred inherit mode in your RuboCop config file. More info in the PR: #250
- The
Lint/Syntaxcop is now enabled. It goes without saying but syntax errors do violate the Style Guide! (PR #254) - We also re-enabled the
Layout/BeginEndAlignmentcop. It was disabled in the past due to a bug, and now it's back to fix your code blocks! (PR #258) - This is a big one: we finally removed the
DisabledByDefault: truesetting and we disabled all unwanted cops one-by-one. This should not have any consequence for most people using our gem, but in case you are using other RuboCop extensions or your own custom cops, you might notice that now everything comes enabled by default (unless you are disabling them yourself). If you were overriding this setting tofalseyou might also be able to remove it from your RuboCop config file. (PR #220) - Last but not least:
Style/WordArrayandStyle/SymbolArrayare now enabled and set to enforce thebracketsstyle. This rule was actually introduced back in 2019 to the Style Guide but we did not enforce it with RuboCop. Well, now we do! (and therefore we are not considering this a breaking change). (PR #256)