diff options
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 |
