From 6fe0c3a83bb1a9f4b1a85e0c8092b0817d1360b2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 5 Jan 2015 19:01:39 +0000 Subject: [PATCH] rubocop.yml: tweak rules to match existing format. Don't want to enforce more than we need to. --- Library/.rubocop.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 3ad27e623c..d694121255 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