.rubocop_cocoapods.yml in cocoapods-keys-2.2.1 vs .rubocop_cocoapods.yml in cocoapods-keys-2.3.0

- old
+ new

@@ -1,53 +1,58 @@ AllCops: + NewCops: enable + SuggestExtensions: false Include: - ./Rakefile - ./Gemfile - ./*.gemspec Exclude: - ./spec/fixtures/**/* # At the moment not ready to be used # https://github.com/bbatsov/rubocop/issues/947 -Documentation: +Style/Documentation: Enabled: false #- CocoaPods -----------------------------------------------------------------# # We adopted raise instead of fail. -SignalException: +Style/SignalException: EnforcedStyle: only_raise # They are idiomatic -AssignmentInCondition: +Lint/AssignmentInCondition: Enabled: false # Allow backticks -AsciiComments: +Style/AsciiComments: Enabled: false # Indentation clarifies logic branches in implementations -IfUnlessModifier: +Style/IfUnlessModifier: Enabled: false # No enforced convention here. -SingleLineBlockParams: +Style/SingleLineBlockParams: Enabled: false # We only add the comment when needed. -Encoding: +Style/Encoding: Enabled: false +Style/FrozenStringLiteralComment: + Enabled: false + Layout/MultilineOperationIndentation: EnforcedStyle: indented # Clashes with CLAide Command#validate! -GuardClause: +Style/GuardClause: Enabled: false # Not always desirable: lib/claide/command/plugins_helper.rb:12:15 -Next: +Style/Next: Enabled: false # Arbitrary max lengths for classes simply do not work and enabling this will # lead to a never ending stream of annoyance and changes. Metrics/ClassLength: @@ -72,40 +77,40 @@ Metrics/CyclomaticComplexity: Enabled: false #- CocoaPods support for Ruby 1.8.7 ------------------------------------------# -HashSyntax: +Style/HashSyntax: EnforcedStyle: hash_rockets -Lambda: +Style/Lambda: Enabled: false -DotPosition: +Layout/DotPosition: EnforcedStyle: trailing -EachWithObject: +Style/EachWithObject: Enabled: false Style/SpecialGlobalVars: Enabled: false #- CocoaPods specs -----------------------------------------------------------# # Allow for `should.match /regexp/`. -AmbiguousRegexpLiteral: +Lint/AmbiguousRegexpLiteral: Exclude: - spec/**/* # Allow `object.should == object` syntax. -Void: +Lint/Void: Exclude: - spec/**/* -ClassAndModuleChildren: +Style/ClassAndModuleChildren: Exclude: - spec/**/* -UselessComparison: +Lint/BinaryOperatorWithIdenticalOperands: Exclude: - spec/**/*