N.B. This is a new feature of Rubocop 0.30.0: https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md > The `semantic` style enforces braces around functional blocks, where > the primary purpose of the block is to return a value and do..end > for procedural blocks, where the primary purpose of the block is its > side-effects. Hound CI currently uses Rubocop 0.29.0. To ensure Hound does not flag our semantic block style, we need to keep the `Blocks` cop config in our `.rubocop.yml` until they upgrade. [ci skip] Signed-off-by: Alex Coles <alex@alexbcoles.com>pull/3193/head
parent
2ec1910f20
commit
b838da8b83
Loading…
Reference in new issue