Skip to content

Commit

Permalink
Remove unneeded rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Jul 30, 2024
1 parent 40d55f8 commit 77e3a40
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Library/Homebrew/formula_name_cask_token_auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?("-")
Expand Down

0 comments on commit 77e3a40

Please sign in to comment.