Commit 5a735580 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Update shared CocoaPods config

parent 6888437f
...@@ -5,6 +5,7 @@ AllCops: ...@@ -5,6 +5,7 @@ AllCops:
- ./*.gemspec - ./*.gemspec
Exclude: Exclude:
- ./spec/fixtures/**/* - ./spec/fixtures/**/*
- ./vendor/bundle/**/*
# At the moment not ready to be used # At the moment not ready to be used
# https://github.com/bbatsov/rubocop/issues/947 # https://github.com/bbatsov/rubocop/issues/947
...@@ -58,6 +59,11 @@ Next: ...@@ -58,6 +59,11 @@ Next:
Metrics/ClassLength: Metrics/ClassLength:
Enabled: false Enabled: false
# Arbitrary max lengths for modules simply do not work and enabling this will
# lead to a never ending stream of annoyance and changes.
Metrics/ModuleLength:
Enabled: false
# Arbitrary max lengths for methods simply do not work and enabling this will # Arbitrary max lengths for methods simply do not work and enabling this will
# lead to a never ending stream of annoyance and changes. # lead to a never ending stream of annoyance and changes.
Metrics/MethodLength: Metrics/MethodLength:
...@@ -77,6 +83,11 @@ Metrics/AbcSize: ...@@ -77,6 +83,11 @@ Metrics/AbcSize:
Metrics/CyclomaticComplexity: Metrics/CyclomaticComplexity:
Enabled: false Enabled: false
# It will be obvious which code is complex, Rubocop should only lint simple
# rules for us.
Metrics/PerceivedComplexity:
Enabled: false
#- CocoaPods support for Ruby 1.8.7 ------------------------------------------# #- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
HashSyntax: HashSyntax:
...@@ -113,4 +124,3 @@ ClassAndModuleChildren: ...@@ -113,4 +124,3 @@ ClassAndModuleChildren:
UselessComparison: UselessComparison:
Exclude: Exclude:
- spec/**/* - spec/**/*
...@@ -13,7 +13,3 @@ Lint/UselessAccessModifier: ...@@ -13,7 +13,3 @@ Lint/UselessAccessModifier:
# Configuration parameters: AllowURI, URISchemes. # Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength: Metrics/LineLength:
Max: 292 Max: 292
# Offense count: 19
Metrics/PerceivedComplexity:
Max: 10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment