makandra / makandra-rubocop

makandra's default Rubocop configuration
MIT License
6 stars 1 forks source link

Allow spaces inside curly braces of hash literals #1

Closed triskweline closed 5 years ago

triskweline commented 5 years ago

I would like makandra-rubocop to allow spaces inside hash literals, e.g. hash = { foo: 'bar' }. This is currently enforced to be hash = {foo: 'bar'}.

Some points:

The cop is SpaceInsideHashLiteralBraces.