Skip to content

Commit

Permalink
Fix incorrect documentation URLs when using rubocop --show-docs-url
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Aug 24, 2022
1 parent 5898a1b commit 008ed6d
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
@@ -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
@@ -1,5 +1,9 @@
# This is the default configuration file.

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

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 008ed6d

Please sign in to comment.