.rubocop.yml in myfinance-0.7.0 vs .rubocop.yml in myfinance-1.0.0
- old
+ new
@@ -229,12 +229,13 @@
A complexity metric that is strongly correlated to the number
of test cases needed to validate a method.
Enabled: true
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 30 lines of code.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
Enabled: true