.rubocop.yml in access_token_agent-3.4.0 vs .rubocop.yml in access_token_agent-3.5.0
- old
+ new
@@ -18,9 +18,19 @@
- namespace
Exclude:
- 'config/environments/*.rb' # instead of excluding all :configure methods
- 'config/routes.rb'
+# The maximum amount of positional arguments in a method really shouldn't exceed
+# the rubocop default of 5.
+# However, keyword arguments do not make a method signature as unreadable as positional
+# arguments. There are valid cases for longer argument lists (e.g. data objects or
+# DSLs with implicit default values).
+# In those cases keyword args provide a good balance between readability and the need to
+# pass more arguments into an object.
+Metrics/ParameterLists:
+ CountKeywordArgs: false
+
Style/Documentation:
Enabled: false
# This cop tries to make you use module_funtion instead of extend self
# This is bad because both have their own use-case and should not be used