rubocop.yml: tweak rules to match existing format.

Don't want to enforce more than we need to.
This commit is contained in:
Mike McQuaid 2015-01-05 19:01:39 +00:00
parent e0286c5aae
commit 6fe0c3a83b

View File

@ -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