diff options
| author | Mike McQuaid | 2015-01-05 19:01:39 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-05 19:01:39 +0000 |
| commit | 6fe0c3a83bb1a9f4b1a85e0c8092b0817d1360b2 (patch) | |
| tree | b2ceb2ca5667c5e16f6c59ed151b6b2ee55715aa /Library | |
| parent | e0286c5aae3c89925c08e487e5e27de0eaeac565 (diff) | |
| download | brew-6fe0c3a83bb1a9f4b1a85e0c8092b0817d1360b2.tar.bz2 | |
rubocop.yml: tweak rules to match existing format.
Don't want to enforce more than we need to.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 3ad27e623..d69412125 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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 |
