From 845c71270e2cf47bde3c1508654460b1e5c5958c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 3 Apr 2020 14:54:50 +0100 Subject: [PATCH] rubocop.yml: enable non-default checks. Closes https://github.com/Homebrew/brew/pull/7258 --- Library/.rubocop.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 17f6ae6e3c..2d7767db2d 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -50,6 +50,12 @@ Lint/AmbiguousRegexpLiteral: Lint/ParenthesesAsGroupedExpression: Enabled: false +# not enabled by default but nice to have +Lint/RaiseException: + Enabled: true +Lint/StructNewOverride: + Enabled: true + # most metrics don't make sense to apply for formulae/taps Metrics/AbcSize: Enabled: false