Skip to content

Commit

Permalink
Merge pull request #299 from r7kamura/feature/url
Browse files Browse the repository at this point in the history
Fix incorrect documentation URLs when using `rubocop --show-docs-url`
  • Loading branch information
koic authored Aug 24, 2022
2 parents 5898a1b + 3deb350 commit 84ac065
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/fix_incorrect_documentation_urls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#299](https://github.com/rubocop/rubocop-performance/pull/299): Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][])
4 changes: 4 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# This is the default configuration file.

Performance:
Enabled: true
DocumentationBaseURL: https://docs.rubocop.org/rubocop-performance

Performance/AncestorsInclude:
Description: 'Use `A <= B` instead of `A.ancestors.include?(B)`.'
Reference: 'https://github.com/JuanitoFatas/fast-ruby#ancestorsinclude-vs--code'
Expand Down

0 comments on commit 84ac065

Please sign in to comment.