From 27e8c117e4eaaf82ba1b92317a81c8c990f79957 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 29 Jan 2021 17:14:39 +0000 Subject: [PATCH] rubocop.yml: disable some buggy cops. --- Library/.rubocop.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index fae92cc8f7..47687dfcd7 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -54,6 +54,12 @@ FormulaAudit: FormulaAuditStrict: Enabled: true +# TODO: try to re-enable in RuboCop >=1.9.1 +Lint/SymbolConversion: + Enabled: false +Style/EvalWithLocation: + Enabled: false + # makes DSL usage ugly. Layout/SpaceBeforeBrackets: Exclude: @@ -204,7 +210,8 @@ Rails/TimeZone: # Don't allow cops to be disabled in casks and formulae. Style/DisableCopsWithinSourceCodeDirective: - Enabled: true + # TODO: try to re-enable in RuboCop >=1.9.1 + Enabled: false Include: - "Taps/*/*/*.rb" - "/**/{Formula,Casks}/*.rb"