Merge pull request #7167 from MikeMcQuaid/linelength
rubocop: set LineLength to 118.
This commit is contained in:
commit
db121c7b17
@ -78,9 +78,9 @@ Metrics/ModuleLength:
|
|||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# GitHub diff UI wraps beyond 118 characters (so that's the goal)
|
# GitHub diff UI wraps beyond 118 characters
|
||||||
Layout/LineLength:
|
Layout/LineLength:
|
||||||
Max: 167
|
Max: 118
|
||||||
# ignore manpage comments and long single-line strings
|
# ignore manpage comments and long single-line strings
|
||||||
IgnoredPatterns: ['#: ', ' url "', ' mirror "', ' plist_options :']
|
IgnoredPatterns: ['#: ', ' url "', ' mirror "', ' plist_options :']
|
||||||
|
|
||||||
|
|||||||
@ -58,9 +58,9 @@ Style/HashTransformKeys:
|
|||||||
Style/HashTransformValues:
|
Style/HashTransformValues:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
# This shouldn't be enabled until LineLength is lower.
|
# Enabled now LineLength is lowish.
|
||||||
Style/IfUnlessModifier:
|
Style/IfUnlessModifier:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
# Only use this for numbers >= `1_000_000`.
|
# Only use this for numbers >= `1_000_000`.
|
||||||
Style/NumericLiterals:
|
Style/NumericLiterals:
|
||||||
|
|||||||
@ -61,12 +61,6 @@ Metrics/PerceivedComplexity:
|
|||||||
Enabled: true
|
Enabled: true
|
||||||
Max: 100
|
Max: 100
|
||||||
|
|
||||||
# GitHub diff UI wraps beyond 118 characters
|
|
||||||
Layout/LineLength:
|
|
||||||
Max: 118
|
|
||||||
# ignore manpage comments
|
|
||||||
IgnoredPatterns: ['#: ']
|
|
||||||
|
|
||||||
# we won't change backward compatible predicate names
|
# we won't change backward compatible predicate names
|
||||||
Naming/PredicateName:
|
Naming/PredicateName:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user