ox icon indicating copy to clipboard operation
ox copied to clipboard

Autofix Rubocop Layout rules - Batch 4

Open nschonni opened this issue 2 years ago • 2 comments

Forth run a the autofixing the Layout related Rubocop rules. Most of these have options allowing overriding specific things if they style isn't preffered.

This is the last of the Layout, except for the 2 that were removed from the last batch

nschonni avatar Feb 27 '23 17:02 nschonni

I noticed that arrays are expected to have no spaces next to the brackets yet hash maps expect spaces. That seems inconsistent to me. Can we be consistent in that regard? It doesn't matter to me which one is selected but consistent would be better.

ohler55 avatar Feb 27 '23 17:02 ohler55

I added the Rubocop dev dependency and gave this a rebase after the 2.7 bump included the sax_reactor back in.

If there are particular styles you don't like, if you comment on the line, I can try and look up the rule the changed it and if there is an EnforcedStyle

nschonni avatar Feb 28 '23 02:02 nschonni