From bfe9598fa95f3e0fc9bf6dc8c14084a6cc5a9e1b Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 16 Nov 2020 03:13:39 +0100 Subject: [PATCH] Disable `Lint/DuplicateBranch` cop for formulae and casks. --- Library/.rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index f1ca45af7f..c9134c5611 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -197,6 +197,10 @@ Layout/RescueEnsureAlignment: Lint/AmbiguousBlockAssociation: Enabled: false +Lint/DuplicateBranch: + Exclude: + - 'Taps/*/*/{Formula,Casks,}/*.rb' + # needed for lazy_object magic Naming/MemoizedInstanceVariableName: Exclude: