rubocop.yml: tweak rules to match existing format.
Don't want to enforce more than we need to.
This commit is contained in:
parent
e0286c5aae
commit
6fe0c3a83b
@ -22,14 +22,9 @@ Metrics/ClassLength:
|
||||
Metrics/PerceivedComplexity:
|
||||
Enabled: false
|
||||
|
||||
# respect width, but be smart
|
||||
# we often need very long lines
|
||||
Metrics/LineLength:
|
||||
AllowURI: true
|
||||
URISchemes:
|
||||
- http
|
||||
- https
|
||||
- ftp
|
||||
- git
|
||||
Enabled: false
|
||||
|
||||
# formulas have no mandatory doc
|
||||
Style/Documentation:
|
||||
@ -49,10 +44,6 @@ Lint/ParenthesesAsGroupedExpression:
|
||||
Style/EmptyLineBetweenDefs:
|
||||
AllowAdjacentOneLineDefs: true
|
||||
|
||||
# and/or as flow control
|
||||
Style/AndOr:
|
||||
EnforcedStyle: conditionals
|
||||
|
||||
# port numbers and such tech stuff
|
||||
Style/NumericLiterals:
|
||||
Enabled: false
|
||||
@ -94,7 +85,7 @@ Style/AlignParameters:
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: false
|
||||
Enabled: false
|
||||
|
||||
# dashes in filenames are typical
|
||||
# TODO: enforce when rubocop has fixed this
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user