niftany_rubocop_ruby.yml in niftany-0.0.2 vs niftany_rubocop_ruby.yml in niftany-0.1.0
- old
+ new
@@ -203,13 +203,15 @@
Description: >-
Use \ instead of + or << to concatenate two string literals at
line end.
Enabled: false
+# Override style guide to allow length of up to 120 characters.
Metrics/LineLength:
- Description: 'Limit lines to 80 characters.'
+ Description: 'Limit lines to 120 characters.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
- Enabled: false
+ Enabled: true
+ Max: 120
Metrics/MethodLength:
Description: 'Avoid methods longer than 10 lines of code.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
Enabled: false