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

[RuboCop] Update shared CocoaPods config

parent 6888437f
......@@ -5,6 +5,7 @@ AllCops:
- ./*.gemspec
Exclude:
- ./spec/fixtures/**/*
- ./vendor/bundle/**/*
# At the moment not ready to be used
# https://github.com/bbatsov/rubocop/issues/947
......@@ -58,6 +59,11 @@ Next:
Metrics/ClassLength:
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
# lead to a never ending stream of annoyance and changes.
Metrics/MethodLength:
......@@ -77,6 +83,11 @@ Metrics/AbcSize:
Metrics/CyclomaticComplexity:
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 ------------------------------------------#
HashSyntax:
......@@ -113,4 +124,3 @@ ClassAndModuleChildren:
UselessComparison:
Exclude:
- spec/**/*
......@@ -13,7 +13,3 @@ Lint/UselessAccessModifier:
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
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