From 77e3a405f54b32f4a38af3b622b923f58c50d678 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 30 Jul 2024 21:44:10 +0200 Subject: [PATCH] Remove unneeded rules. --- Library/Homebrew/formula_name_cask_token_auditor.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Library/Homebrew/formula_name_cask_token_auditor.rb b/Library/Homebrew/formula_name_cask_token_auditor.rb index 78b708b56764b..2789db89f6a7d 100644 --- a/Library/Homebrew/formula_name_cask_token_auditor.rb +++ b/Library/Homebrew/formula_name_cask_token_auditor.rb @@ -20,10 +20,6 @@ def errors errors << "non-ASCII characters" unless token.ascii_only? errors << "double hyphens" if token.include?("--") - # A bunch of formulae contain these: - # errors << "underscores" if token.include?("_") - # errors << "plus symbols" if token.include?("+") - errors << "a leading @" if token.start_with?("@") errors << "a trailing @" if token.end_with?("@") errors << "a leading hyphen" if token.start_with?("-")