2024-01-23 23:06:04 +00:00
|
|
|
inherit_from: ../Library/.rubocop.yml
|
|
|
|
|
|
|
|
AllCops:
|
|
|
|
Exclude:
|
|
|
|
- Gemfile
|
|
|
|
- ".mdl*.rb"
|
|
|
|
- Rakefile
|
|
|
|
- "_site/**/*"
|
|
|
|
|
|
|
|
# These are included in docs deliberately to show what
|
|
|
|
# `brew create` does and what the user should replace.
|
|
|
|
FormulaAudit/Comments:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/LineLength:
|
2024-01-27 12:32:46 +00:00
|
|
|
Exclude:
|
|
|
|
- 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
|