.rubocop.yml in jabber_admin-0.2.0 vs .rubocop.yml in jabber_admin-1.0.0
- old
+ new
@@ -1,16 +1,13 @@
require: rubocop-rspec
-Rails:
- Enabled: true
-
Documentation:
Enabled: true
AllCops:
DisplayCopNames: true
- TargetRubyVersion: 2.2
+ TargetRubyVersion: 2.5
Metrics/BlockLength:
Exclude:
- Rakefile
- spec/**/*.rb
@@ -29,5 +26,10 @@
# Allow deeper nesting because of the predefined/non-predefined -
# bang/non-bang cases.
RSpec/NestedGroups:
Max: 4
+
+# We stay at 80 characters per line.
+# See: https://rubystyle.guide/#max-line-length
+Metrics/LineLength:
+ Max: 80