|
|
|
@ -223,7 +223,7 @@ Style/IfUnlessModifier:
|
|
|
|
|
Description: Favor modifier if/unless usage when you have a single-line body.
|
|
|
|
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
|
|
|
|
|
Enabled: false
|
|
|
|
|
MaxLineLength: 80
|
|
|
|
|
MaxLineLength: 120
|
|
|
|
|
Style/IndentationWidth:
|
|
|
|
|
Description: Use 2 spaces for indentation.
|
|
|
|
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
|
|
|
|
@ -491,7 +491,7 @@ Style/WhileUntilModifier:
|
|
|
|
|
Description: Favor modifier while/until usage when you have a single-line body.
|
|
|
|
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
|
|
|
|
|
Enabled: false
|
|
|
|
|
MaxLineLength: 80
|
|
|
|
|
MaxLineLength: 120
|
|
|
|
|
Style/WordArray:
|
|
|
|
|
Description: Use %w or %W for arrays of words.
|
|
|
|
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
|
|
|
|
@ -519,10 +519,10 @@ Metrics/CyclomaticComplexity:
|
|
|
|
|
Enabled: false
|
|
|
|
|
Max: 6
|
|
|
|
|
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: true
|
|
|
|
|
Max: 80
|
|
|
|
|
Max: 120
|
|
|
|
|
AllowURI: true
|
|
|
|
|
URISchemes:
|
|
|
|
|
- http
|
|
|
|
|