diff options
| author | Mike McQuaid | 2016-10-22 16:36:52 +0100 |
|---|---|---|
| committer | GitHub | 2016-10-22 16:36:52 +0100 |
| commit | 8019afb60ad321b0f14f60b00c23d7fb098d35c2 (patch) | |
| tree | bca14b144e80ad71bb36adba9cbd317ab77c568e /Library | |
| parent | c521ff4a94328d02d345b13d65f3c5942cf613e9 (diff) | |
| parent | 6c4042f5935da67365a10fa12483807b02f6bab4 (diff) | |
| download | brew-8019afb60ad321b0f14f60b00c23d7fb098d35c2.tar.bz2 | |
Merge pull request #1346 from MikeMcQuaid/more-rubocop-tweaks
More Rubocop tweaks.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 2 | ||||
| -rw-r--r-- | Library/Homebrew/.rubocop.yml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index d749adc35..ac10f92e5 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -85,6 +85,8 @@ Style/GuardClause: # depends_on a: :b looks weird in formulae. Style/HashSyntax: EnforcedStyle: hash_rockets + Exclude: + - '**/cmd/**/*' # disabled until it respects line length Style/IfUnlessModifier: diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index 325674398..a43727371 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -20,7 +20,7 @@ Lint/NestedMethodDefinition: # so many of these in formulae but none in here Lint/ParenthesesAsGroupedExpression: - Enabled: false + Enabled: true Metrics/ModuleLength: CountComments: false |
