.rubocop.yml in whatup-0.2.3 vs .rubocop.yml in whatup-0.2.4
- old
+ new
@@ -1,12 +1,34 @@
# Rubocop linting options
AllCops:
TargetRubyVersion: 2.4 # Modern Ruby
+# attr_reader *%i[a b c]
+Lint/UnneededSplatExpansion:
+ Enabled: false
+
+# Needed for the server pid
+Style/GlobalVars:
+ Exclude:
+ - 'spec/system_spec.rb'
+
+# Aruba uses modifiable strings
+Style/FrozenStringLiteralComment:
+ Exclude:
+ - 'spec/system_spec.rb'
+
# The default is a bit restrictive
Metrics/AbcSize:
Max: 30
+
+# The default is a bit restrictive
+Metrics/ClassLength:
+ Max: 145
+
+# <<~OUTPUT.gsub /^\s+/, ''
+Lint/AmbiguousRegexpLiteral:
+ Enabled: false
Metrics/BlockLength:
Exclude:
- 'whatup.gemspec'
- 'spec/**/*_spec.rb'