Skip to content

Commit

Permalink
Add DocumentationBaseURL
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Aug 24, 2022
1 parent 5898a1b commit fc16ab8
Show file tree
Hide file tree
Showing 2 changed files with 4 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][])
3 changes: 3 additions & 0 deletions config/default.yml
@@ -1,5 +1,8 @@
# This is the default configuration file.

Performance:
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 fc16ab8

Please sign in to comment.