.rubocop.yml in percy-cli-1.2.8 vs .rubocop.yml in percy-cli-1.2.9

- old
+ new

@@ -6,74 +6,108 @@ - lib/**/*.rake Exclude: - 'vendor/**/*' - '*.gemspec' +Layout/AlignParameters: + EnforcedStyle: with_fixed_indentation + +Layout/CaseIndentation: + EnforcedStyle: end + +Layout/IndentArray: + EnforcedStyle: consistent + +Layout/MultilineMethodCallIndentation: + EnforcedStyle: indented + +Layout/MultilineOperationIndentation: + EnforcedStyle: indented + +Layout/SpaceInsideHashLiteralBraces: + EnforcedStyle: no_space + Lint/EndAlignment: EnforcedStyleAlignWith: variable +Lint/RescueException: + Exclude: + - 'lib/tasks/*.rake' + +Metrics/AbcSize: + Max: 100 + Metrics/LineLength: Max: 100 -Metrics/BlockLength: +Metrics/MethodLength: + Max: 80 + +Style/Documentation: Enabled: false -Style/AlignParameters: - EnforcedStyle: with_fixed_indentation +Metrics/ClassLength: + Enabled: false -Style/CaseIndentation: - EnforcedStyle: end +Metrics/ModuleLength: + Enabled: false -Style/Documentation: +Metrics/ParameterLists: Enabled: false +Metrics/BlockLength: + Enabled: false + Style/DoubleNegation: Enabled: false -Style/IndentArray: - EnforcedStyle: consistent +Style/FileName: + Exclude: ['Gemfile', 'Guardfile'] -Style/MultilineMethodCallIndentation: - EnforcedStyle: indented +Style/FormatStringToken: + EnforcedStyle: template -Style/MultilineOperationIndentation: - EnforcedStyle: indented - # Disable Style/NumericLiterals so numbers don't need underscores Style/NumericLiterals: Enabled: false -Style/FileName: - Enabled: false - -Style/SymbolArray: - Enabled: false - Style/NumericPredicate: EnforcedStyle: comparison Style/RedundantBegin: Enabled: false Style/RegexpLiteral: EnforcedStyle: slashes AllowInnerSlashes: true + Exclude: + - 'Guardfile' -Style/SpaceInsideHashLiteralBraces: - EnforcedStyle: no_space +Style/SymbolArray: + EnforcedStyle: brackets Style/TrailingCommaInArguments: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: consistent_comma +RSpec/DescribedClass: + EnforcedStyle: explicit + +RSpec/ExampleLength: + Max: 15 + +RSpec/HookArgument: + EnforcedStyle: each + +RSpec/ImplicitExpect: + EnforcedStyle: should + RSpec/MessageSpies: EnforcedStyle: receive RSpec/NotToNot: - Enabled: false + EnforcedStyle: to_not - -# Will be able to do this in >= v1.11 -# RSpec/DescribedClass: -# EnforcedStyle: explicit +RSpec/VerifiedDoubles: + Enabled: false