spec/.rubocop.yml in berkeley_library-logging-0.2.5 vs spec/.rubocop.yml in berkeley_library-logging-0.2.6
- old
+ new
@@ -1,27 +1,108 @@
inherit_from: ../.rubocop.yml
+require:
+ - rubocop-rspec
+
Style/ClassAndModuleChildren:
Enabled: false
-Layout/LineLength:
+Style/OpenStructUse:
Enabled: false
-Metrics/BlockLength:
+Metrics/AbcSize:
Enabled: false
-Metrics/ClassLength:
+Metrics/BlockLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
############################################################
-# Added in Rubocop 0.89
+# rubocop-rspec
-# Sometimes we're testing the operator
-Lint/BinaryOperatorWithIdenticalOperands:
+# believe me, it wasn't by choice
+RSpec/AnyInstance:
Enabled: false
-
+
+# we meant to do that
+RSpec/BeforeAfterAll:
+ Enabled: false
+
+# more words != more readable
+RSpec/ContextWording:
+ Enabled: false
+
+# explicit >>> implicit
+RSpec/DescribedClass:
+ Enabled: false
+
+# more punctuation != more readable
+RSpec/DescribeSymbol:
+ Enabled: false
+
+# too late now
+RSpec/ExampleLength:
+ Enabled: false
+
+# we meant to do that
+RSpec/ExpectInHook:
+ Enabled: false
+
+# if only it were that simple
+RSpec/ExpectOutput:
+ Enabled: false
+
+# your naming scheme is not in possession of all the facts
+RSpec/FilePath:
+ Enabled: false
+
+# explicit >>> implicit
+RSpec/InstanceVariable:
+ Enabled: false
+
+# maybe when 'all' has a corresponding 'none' matcher
+RSpec/IteratedExpectation:
+ Enabled: false
+
+# TODO: clean these up & de-disable this
+RSpec/LeakyConstantDeclaration:
+ Enabled: false
+
+# too late now
+RSpec/MultipleMemoizedHelpers:
+ Enabled: false
+
+# setup cost / time >>> failure granularity
+RSpec/MultipleExpectations:
+ Enabled: false
+
+# cure is worse than the disease
+RSpec/NestedGroups:
+ Enabled: false
+
+# more quotation marks != more readable
+RSpec/SharedExamples:
+ Enabled: false
+
+# we meant to do that
+RSpec/StubbedMock:
+ Enabled: false
+
+# we meant to do that
+RSpec/VerifiedDoubles:
+ Enabled: false
+
+############################################################
+# rubocop-rspec
+
+# enable newer rubocop-rspec cops
+
+RSpec/IdenticalEqualityAssertion: # new in 2.4
+ Enabled: true
+
+RSpec/Rails/AvoidSetupHook: # new in 2.4
+ Enabled: true