diff --git a/changelog/fix_incorrect_documentation_urls.md b/changelog/fix_incorrect_documentation_urls.md new file mode 100644 index 0000000000..f4b56fc579 --- /dev/null +++ b/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][]) diff --git a/config/default.yml b/config/default.yml index 0b5f4c5a5d..0d8a912452 100644 --- a/config/default.yml +++ b/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'