Skip to content

Commit

Permalink
Merge pull request #1238 from Homebrew/sync-shared-config
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jun 13, 2024
2 parents f1d4a18 + c1cd96b commit a5dc58a
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docs/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ inherit_from: ../Library/.rubocop.yml

AllCops:
Exclude:
- Gemfile
- ".mdl*.rb"
- Rakefile
- "_site/**/*"
- Manpage.md
- Gemfile
- ".mdl*.rb"
- Rakefile
- "_site/**/*"
- Manpage.md
- "vendor/**/*"

# These are included in docs deliberately to show what
# `brew create` does and what the user should replace.
Expand All @@ -21,7 +22,7 @@ FormulaAudit/Homepage:

Layout/LineLength:
Exclude:
- Bottles.md # The bottle block line length is long in its full form.
- Bottles.md # The bottle block line length is long in its full form.

# Apparently Casks are allowed to have constant definitions in blocks and we document this.
Lint/ConstantDefinitionInBlock:
Expand All @@ -30,3 +31,7 @@ Lint/ConstantDefinitionInBlock:
# A fake regexp is deliberately documented for `inreplace` in the Formula Cookbook.
Style/RedundantRegexpArgument:
Enabled: false

# Want to be able to display partial formulae in the docs.
Style/TopLevelMethodDefinition:
Enabled: false

0 comments on commit a5dc58a

Please sign in to comment.