diff options
| author | Mike McQuaid | 2015-01-05 19:01:39 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-05 19:01:39 +0000 |
| commit | 5b7fdc2b171c9444f06a582996bdb03a3181f285 (patch) | |
| tree | 337d08a628bda3df5186dca4d67b0ad25fd050ac /Library | |
| parent | 99f46b2fb24cf199bdbdd24bcae3277a318a00fe (diff) | |
| download | homebrew-5b7fdc2b171c9444f06a582996bdb03a3181f285.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 |
