From c1cd96b9e29d1417f166d965021a1c87cc739d77 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:06:13 +0000 Subject: [PATCH] .rubocop.yml: update to match main configuration --- docs/.rubocop.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/.rubocop.yml b/docs/.rubocop.yml index 62beffad2954..e5a8df064eca 100644 --- a/docs/.rubocop.yml +++ b/docs/.rubocop.yml @@ -2,11 +2,12 @@ inherit_from: ../Library/.rubocop.yml AllCops: Exclude: - - Gemfile - - ".mdl*.rb" - - Rakefile - - "_site/**/*" - - Manpage.md + - Gemfile + - ".mdl*.rb" + - Rakefile + - "_site/**/*" + - Manpage.md + - "vendor/**/*" # These are included in docs deliberately to show what # `brew create` does and what the user should replace. @@ -21,7 +22,7 @@ FormulaAudit/Homepage: Layout/LineLength: Exclude: - - Bottles.md # The bottle block line length is long in its full form. + - Bottles.md # The bottle block line length is long in its full form. # Apparently Casks are allowed to have constant definitions in blocks and we document this. Lint/ConstantDefinitionInBlock: @@ -30,3 +31,7 @@ Lint/ConstantDefinitionInBlock: # A fake regexp is deliberately documented for `inreplace` in the Formula Cookbook. Style/RedundantRegexpArgument: Enabled: false + +# Want to be able to display partial formulae in the docs. +Style/TopLevelMethodDefinition: + Enabled: false