Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment_cop

Enable autocorrect for `Lint/EndAlignment` cop
This commit is contained in:
Matthew Draper 2018-01-19 17:49:21 +10:30 committed by GitHub
commit acbcef6094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 19 additions and 15 deletions

View File

@ -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: