diff options
author | Bart de Water <bartdewater@gmail.com> | 2018-04-21 13:13:34 -0400 |
---|---|---|
committer | Bart de Water <bartdewater@gmail.com> | 2018-04-21 13:18:50 -0400 |
commit | e236454a1a7812898b60585e77cb7feae85a4ea4 (patch) | |
tree | 0b58da547268b65322653bbb99b2738d17191198 /.rubocop.yml | |
parent | 611e1102d3bd46c4765bec7d57ca8d343c419e33 (diff) | |
download | rails-e236454a1a7812898b60585e77cb7feae85a4ea4.tar.gz rails-e236454a1a7812898b60585e77cb7feae85a4ea4.tar.bz2 rails-e236454a1a7812898b60585e77cb7feae85a4ea4.zip |
Rubocop 0.54
Fix `.rubocop.yml: Lint/EndAlignment has the wrong namespace - should be Layout` warning
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index afd5d6228d..954ab3b1cb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -42,6 +42,13 @@ Layout/CommentIndentation: Layout/ElseAlignment: Enabled: true +# Align `end` with the matching keyword or starting expression except for +# assignments, where it should be aligned with the LHS. +Layout/EndAlignment: + Enabled: true + EnforcedStyleAlignWith: variable + AutoCorrect: true + Layout/EmptyLineAfterMagicComment: Enabled: true @@ -151,13 +158,6 @@ Layout/TrailingWhitespace: Style/UnneededPercentQ: Enabled: true -# Align `end` with the matching keyword or starting expression except for -# assignments, where it should be aligned with the LHS. -Lint/EndAlignment: - Enabled: true - EnforcedStyleAlignWith: variable - AutoCorrect: true - # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg. Lint/RequireParentheses: Enabled: true |