Skip to content

Commit

Permalink
Fixed renamed rubocop configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
oedbro committed Oct 3, 2020
1 parent 8c9c39d commit 445ae3c
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions .rubocop_shopify_styleguide.yml
Expand Up @@ -13,7 +13,7 @@ Style/Alias:
- prefer_alias
- prefer_alias_method

Layout/AlignHash:
Layout/HashAlignment:
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
EnforcedLastArgumentHashStyle: ignore_implicit
Expand All @@ -23,7 +23,7 @@ Layout/AlignHash:
- ignore_implicit
- ignore_explicit

Layout/AlignParameters:
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
SupportedStyles:
- with_first_parameter
Expand Down Expand Up @@ -157,7 +157,7 @@ Naming/FileName:
Regex:
IgnoreExecutableScripts: true

Layout/IndentFirstArgument:
Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
SupportedStyles:
- consistent
Expand Down Expand Up @@ -197,18 +197,18 @@ Layout/IndentationConsistency:
Layout/IndentationWidth:
Width: 2

Layout/IndentFirstArrayElement:
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
SupportedStyles:
- special_inside_parentheses
- consistent
- align_brackets
IndentationWidth:

Layout/IndentAssignment:
Layout/AssignmentIndentation:
IndentationWidth:

Layout/IndentFirstHashElement:
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
SupportedStyles:
- special_inside_parentheses
Expand Down Expand Up @@ -311,9 +311,9 @@ Style/PercentQLiterals:
Naming/PredicateName:
NamePrefix:
- is_
NamePrefixBlacklist:
ForbiddenPrefixes:
- is_
NameWhitelist:
AllowedMethods:
- is_a?
Exclude:
- 'spec/**/*'
Expand Down Expand Up @@ -438,7 +438,7 @@ Style/TernaryParentheses:
- require_no_parentheses
AllowSafeAssignment: true

Layout/TrailingBlankLines:
Layout/TrailingEmptyLines:
EnforcedStyle: final_newline
SupportedStyles:
- final_newline
Expand All @@ -449,7 +449,7 @@ Style/TrivialAccessors:
AllowPredicates: true
AllowDSLWriters: false
IgnoreClassMethods: false
Whitelist:
AllowedMethods:
- to_ary
- to_a
- to_c
Expand Down Expand Up @@ -600,7 +600,7 @@ Rails/Validation:
Naming/AccessorMethodName:
Enabled: true

Layout/AlignArray:
Layout/ArrayAlignment:
Enabled: true

Style/ArrayJoin:
Expand Down Expand Up @@ -837,7 +837,7 @@ Layout/SpaceInsideRangeLiteral:
Style/SymbolLiteral:
Enabled: true

Layout/Tab:
Layout/IndentationStyle:
Enabled: true

Layout/TrailingWhitespace:
Expand All @@ -846,13 +846,13 @@ Layout/TrailingWhitespace:
Style/UnlessElse:
Enabled: true

Style/UnneededCapitalW:
Style/RedundantCapitalW:
Enabled: true

Style/UnneededInterpolation:
Style/RedundantInterpolation:
Enabled: true

Style/UnneededPercentQ:
Style/RedundantPercentQ:
Enabled: true

Style/VariableInterpolation:
Expand All @@ -867,7 +867,7 @@ Style/WhileUntilDo:
Style/ZeroLengthPredicate:
Enabled: true

Layout/IndentHeredoc:
Layout/HeredocIndentation:
EnforcedStyle: squiggly

Lint/AmbiguousOperator:
Expand All @@ -891,7 +891,7 @@ Lint/DeprecatedClassMethods:
Lint/DuplicateMethods:
Enabled: true

Lint/DuplicatedKey:
Lint/DuplicateHashKey:
Enabled: true

Lint/EachWithObjectArgument:
Expand All @@ -906,9 +906,6 @@ Lint/EmptyEnsure:
Lint/EmptyInterpolation:
Enabled: true

Lint/EndInMethod:
Enabled: true

Lint/EnsureReturn:
Enabled: true

Expand All @@ -918,7 +915,7 @@ Lint/FloatOutOfRange:
Lint/FormatParameterMismatch:
Enabled: true

Lint/HandleExceptions:
Lint/SuppressedException:
Enabled: true

Lint/ImplicitStringConcatenation:
Expand Down Expand Up @@ -974,7 +971,7 @@ Lint/ShadowedException:
Lint/ShadowingOuterLocalVariable:
Enabled: true

Lint/StringConversionInInterpolation:
Lint/RedundantStringCoercion:
Enabled: true

Lint/UnderscorePrefixedVariableName:
Expand All @@ -983,7 +980,7 @@ Lint/UnderscorePrefixedVariableName:
Lint/UnifiedInteger:
Enabled: true

Lint/UnneededSplatExpansion:
Lint/RedundantSplatExpansion:
Enabled: true

Lint/UnreachableCode:
Expand Down

0 comments on commit 445ae3c

Please sign in to comment.