ruby / spec

The Ruby Spec Suite aka ruby/spec
MIT License
600 stars 389 forks source link

Indentation fixup #1209

Open herwinw opened 3 weeks ago

herwinw commented 3 weeks ago

This change consists of four commits:

  1. Fix some issues where we used 1 or 3 spaces instead of 2
  2. Fix some missing indentation blocks for guards like quarantine!
  3. Enable the Layout/IndentationWidth rubocop check
  4. Fix another offense of this Rubocop check in the IPAddr specs by adding a bunch of extra indentation

The few remaining offenses look like bugs in Rubocop, or I just don't understand what they're trying to say.

I ordered them by confidence/relevance, so if there is disagreement on any of the commits, we should probably omit the commits after that one as well.