mirror of https://github.com/rails/rails
Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment_cop
Enable autocorrect for `Lint/EndAlignment` cop
This commit is contained in:
commit
acbcef6094
|
@ -26,6 +26,9 @@ Layout/CaseIndentation:
|
||||||
Layout/CommentIndentation:
|
Layout/CommentIndentation:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Layout/ElseAlignment:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLineAfterMagicComment:
|
Layout/EmptyLineAfterMagicComment:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
@ -140,6 +143,7 @@ Style/UnneededPercentQ:
|
||||||
Lint/EndAlignment:
|
Lint/EndAlignment:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
EnforcedStyleAlignWith: variable
|
EnforcedStyleAlignWith: variable
|
||||||
|
AutoCorrect: true
|
||||||
|
|
||||||
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
||||||
Lint/RequireParentheses:
|
Lint/RequireParentheses:
|
||||||
|
|
Loading…
Reference in New Issue