From 9ec74fea2ae9195b690f53f4c0ce5706ebefdfcf Mon Sep 17 00:00:00 2001 From: Issy Long Date: Mon, 27 Feb 2023 23:10:18 +0000 Subject: [PATCH] rubocop: Reinstate taps ignore for `Style/Documentation` --- Library/.rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 80d2e3c8e1..fc89c85ca0 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -339,6 +339,14 @@ Style/DisableCopsWithinSourceCodeDirective: - "/**/{Formula,Casks}/*.rb" - "**/{Formula,Casks}/*.rb" +# The files actually scanned in this cop are in `Library/Homebrew/.rubocop.yml`. +Style/Documentation: + Exclude: + - "Taps/**/*" + - "/**/{Formula,Casks}/*.rb" + - "**/{Formula,Casks}/*.rb" + - "**/*.rbi" + Style/DocumentationMethod: Include: - "Homebrew/formula.rb"