Commit f36a4e7
Changed files (2)
.rubocop.yml
@@ -1,3 +1,5 @@
+inherit_from: .rubocop_todo.yml
+
require:
- rubocop/cop/internal_affairs
- rubocop-rspec
.rubocop_todo.yml
@@ -0,0 +1,45 @@
+# This configuration was generated by
+# `rubocop --auto-gen-config`
+# on 2018-02-16 22:08:54 -0700 using RuboCop version 0.52.1.
+# The point is for the user to remove these configuration records
+# one by one as the offenses are removed from the code base.
+# Note that changes in the inspected code, or installation of new
+# versions of RuboCop, may require this file to be generated again.
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
+Lint/UnusedMethodArgument:
+ Exclude:
+ - 'lib/saml/kit/invalid_document.rb'
+
+# Offense count: 2
+Metrics/AbcSize:
+ Max: 16
+
+# Offense count: 3
+# Configuration parameters: CountComments.
+Metrics/ClassLength:
+ Max: 136
+
+# Offense count: 6
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 13
+
+# Offense count: 1
+Style/DateTime:
+ Exclude:
+ - 'lib/saml/kit/assertion.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/IfUnlessModifier:
+ Exclude:
+ - 'lib/saml/kit/builders/authentication_request.rb'
+
+# Offense count: 128
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Metrics/LineLength:
+ Max: 313