Add and apply Layout/DotPosition rule

Since IRB has improved its support for multiline, the main argument
towars using a trailing dot no longer affects most people.

It still affects me, though, since I use Pry :), but I agree
leading dots are more readable, so I'm enabling the rule anyway.
This commit is contained in:
Javi Martín
2023-07-01 14:53:02 +02:00
parent fd71ae5333
commit 09c63e354c
15 changed files with 72 additions and 69 deletions

View File

@@ -21,6 +21,9 @@ Bundler/OrderedGems:
Layout/AssignmentIndentation:
Enabled: true
Layout/DotPosition:
Enabled: true
Layout/EmptyLineAfterGuardClause:
Enabled: true