2024-01-23 23:06:04 +00:00
|
|
|
inherit_from: ../Library/.rubocop.yml
|
|
|
|
|
|
|
|
AllCops:
|
|
|
|
Exclude:
|
2024-06-13 12:31:47 +01:00
|
|
|
- "**/_site/**/*"
|
|
|
|
- "**/Manpage.md"
|
|
|
|
- "**/vendor/**/*"
|
2024-01-23 23:06:04 +00:00
|
|
|
|
|
|
|
# These are included in docs deliberately to show what
|
|
|
|
# `brew create` does and what the user should replace.
|
|
|
|
FormulaAudit/Comments:
|
|
|
|
Enabled: false
|
|
|
|
|
2024-02-02 15:37:01 +00:00
|
|
|
# This forces us to use dummy descriptions/homepages in example formulae which we don't need to clutter the docs with.
|
|
|
|
FormulaAudit/Desc:
|
|
|
|
Enabled: false
|
|
|
|
FormulaAudit/Homepage:
|
|
|
|
Enabled: false
|
|
|
|
|
2024-01-23 23:06:04 +00:00
|
|
|
Layout/LineLength:
|
2024-01-27 12:32:46 +00:00
|
|
|
Exclude:
|
2024-06-13 12:31:47 +01:00
|
|
|
- "**/Bottles.md" # The bottle block line length is long in its full form.
|
2024-01-23 23:06:04 +00:00
|
|
|
|
|
|
|
# Apparently Casks are allowed to have constant definitions in blocks and we document this.
|
|
|
|
Lint/ConstantDefinitionInBlock:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# A fake regexp is deliberately documented for `inreplace` in the Formula Cookbook.
|
|
|
|
Style/RedundantRegexpArgument:
|
|
|
|
Enabled: false
|
2024-06-12 19:17:17 +01:00
|
|
|
|
|
|
|
# Want to be able to display partial formulae in the docs.
|
|
|
|
Style/TopLevelMethodDefinition:
|
|
|
|
Enabled: false
|
2024-08-04 23:57:49 +01:00
|
|
|
|
|
|
|
# Formulae and Casks no longer use `rm_f`/`rm_rf`, so the docs need to match.
|
|
|
|
Lint/NonAtomicFileOperation:
|
|
|
|
Enabled: false
|
2024-08-12 10:30:59 +01:00
|
|
|
|
|
|
|
# The markdown linter config files don't need to be typed strict.
|
|
|
|
Sorbet/StrictSigil:
|
|
|
|
Enabled: false
|