-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach
brew style
about docs/.rubocop.yml
- Yes, we have yet another `.rubocop.yml` but in-line exclusions in `<span class="display:none;">` in the Markdown seemed more ugly. - This needed tweaks to `brew style` to make it read the new config file when we're scanning docs.
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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 | ||
|
||
# The bottle block line length is long in its full form. | ||
Layout/LineLength: | ||
Max: 123 | ||
|
||
# Apparently Casks are allowed to have constant definitions in blocks and we document this. | ||
Lint/ConstantDefinitionInBlock: | ||
Enabled: false |