diff options
| author | Mike McQuaid | 2017-10-26 15:52:14 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-10-26 15:52:14 +0100 |
| commit | 1f259c27779aa657428eb476d1027de5a357445d (patch) | |
| tree | ac3b9db413c5139bcf300e21b127635e8d87e55b /Library | |
| parent | 4d02b96c679edaf8e16dcec1a69ef9fceaee9eb8 (diff) | |
| download | brew-1f259c27779aa657428eb476d1027de5a357445d.tar.bz2 | |
rubocop: disable length checks.
We should keep these enabled for Homebrew/brew but for taps these just
end up being annoying and making `brew style` fail for little benefit
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 00956076a..2580668b4 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -60,16 +60,16 @@ Lint/ParenthesesAsGroupedExpression: # TODO: try to bring down all metrics maximums Metrics/AbcSize: - Max: 250 + Enabled: false Metrics/BlockLength: - Max: 144 + Enabled: false Metrics/ClassLength: - Max: 589 + Enabled: false Metrics/CyclomaticComplexity: - Max: 75 + Enabled: false Metrics/LineLength: Max: 324 @@ -77,17 +77,16 @@ Metrics/LineLength: IgnoredPatterns: ['#: '] Metrics/MethodLength: - Max: 222 + Enabled: false Metrics/ModuleLength: - CountComments: false - Max: 367 + Enabled: false Metrics/ParameterLists: CountKeywordArgs: false Metrics/PerceivedComplexity: - Max: 100 + Enabled: false # makes code less readable for minor performance increases Performance/Caller: |
