diff --git a/lib/generators/rolemodel/linters/rubocop/templates/.rubocop.yml b/lib/generators/rolemodel/linters/rubocop/templates/.rubocop.yml index 018a84c8..19fc407f 100644 --- a/lib/generators/rolemodel/linters/rubocop/templates/.rubocop.yml +++ b/lib/generators/rolemodel/linters/rubocop/templates/.rubocop.yml @@ -31,12 +31,28 @@ Layout/ArrayAlignment: Layout: Severity: refactor +Layout/ArgumentAlignment: + EnforcedStyle: with_fixed_indentation + +Layout/ArrayAlignment: + EnforcedStyle: with_fixed_indentation + Layout/FirstArrayElementIndentation: EnforcedStyle: consistent Layout/FirstHashElementIndentation: EnforcedStyle: consistent +Layout/MultilineMethodCallIndentation: + EnforcedStyle: indented + +Layout/ParameterAlignment: + EnforcedStyle: with_fixed_indentation + +Layout/SpaceAroundOperators: + AllowForAlignment: false + EnforcedStyleForExponentOperator: no_space + Lint/UnusedMethodArgument: Severity: refactor AutoCorrect: false @@ -64,3 +80,12 @@ Style: # It is ok to use inject at times Style/EachWithObject: Enabled: false + +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: consistent_comma + +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: consistent_comma + +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: consistent_comma