Enable Layout/DefEndAlignment cop

Follow-up #46188

- After reverting the merge commit via #46188

```
$ git revert -m 1 4328d0e16028a46bba79ab775e509a743ceaf18c
[enable_layout_def_end_alignment 8445594965] Revert "Merge pull request #46188 from yahonda/follow_up_45081"
 1 file changed, 1 insertion(+), 1 deletion(-)
$ bundle exec rubocop
Inspecting 3041 files
... snip ...
Offenses:

activerecord/test/cases/query_logs_formatter_test.rb:10:5: W: [Correctable] Layout/DefEndAlignment: end at 10, 4 is not aligned with def at 6, 2.
    end
    ^^^

3041 files inspected, 1 offense detected, 1 offense auto-correctable
$
```
This commit is contained in:
Yasuo Honda 2022-10-04 19:53:40 +09:00
parent 0ecfbe2568
commit 5f04fa99dc

@ -69,6 +69,9 @@ Layout/ClosingParenthesisIndentation:
Layout/CommentIndentation:
Enabled: true
Layout/DefEndAlignment:
Enabled: true
Layout/ElseAlignment:
Enabled: true