Upgrade rubocop cops

pull/11332/head
Javier Torres 8 years ago
parent 905465446d
commit 66d866fb7e

@ -88,7 +88,7 @@ Style/CaseIndentation:
Description: Indentation of when in a case/when/[else/]end. Description: Indentation of when in a case/when/[else/]end.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
Enabled: true Enabled: true
IndentWhenRelativeTo: case EnforcedStyle: case
SupportedStyles: SupportedStyles:
- case - case
- end - end
@ -567,14 +567,14 @@ Lint/AssignmentInCondition:
Lint/EndAlignment: Lint/EndAlignment:
Description: Align ends correctly. Description: Align ends correctly.
Enabled: true Enabled: true
AlignWith: keyword EnforcedStyleAlignWith: keyword
SupportedStyles: SupportedStyles:
- keyword - keyword
- variable - variable
Lint/DefEndAlignment: Lint/DefEndAlignment:
Description: Align ends corresponding to defs correctly. Description: Align ends corresponding to defs correctly.
Enabled: true Enabled: true
AlignWith: start_of_line EnforcedStyleAlignWith: start_of_line
SupportedStyles: SupportedStyles:
- start_of_line - start_of_line
- def - def
@ -798,7 +798,7 @@ Style/LineEndConcatenation:
Description: Use \ instead of + or << to concatenate two string literals at line Description: Use \ instead of + or << to concatenate two string literals at line
end. end.
Enabled: false Enabled: false
Style/MethodCallParentheses: Style/MethodCallWithoutArgsParentheses:
Description: Do not use parentheses for method calls with no arguments. Description: Do not use parentheses for method calls with no arguments.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
Enabled: true Enabled: true
@ -1013,7 +1013,7 @@ Lint/EnsureReturn:
Description: Do not use return in an ensure block. Description: Do not use return in an ensure block.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
Enabled: true Enabled: true
Lint/Eval: Security/Eval:
Description: The use of eval represents a serious security risk. Description: The use of eval represents a serious security risk.
Enabled: true Enabled: true
Lint/HandleExceptions: Lint/HandleExceptions:

Loading…
Cancel
Save