rubocop: Reinstate taps ignore for Style/Documentation

This commit is contained in:
Issy Long 2023-02-27 23:10:18 +00:00
parent 27610e0a66
commit 9ec74fea2a
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -339,6 +339,14 @@ Style/DisableCopsWithinSourceCodeDirective:
- "/**/{Formula,Casks}/*.rb" - "/**/{Formula,Casks}/*.rb"
- "**/{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: Style/DocumentationMethod:
Include: Include:
- "Homebrew/formula.rb" - "Homebrew/formula.rb"