Skip to content

Commit 3deb350

Browse files
committed
Fix incorrect documentation URLs when using rubocop --show-docs-url
1 parent 5898a1b commit 3deb350

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [#299](https://github.com/rubocop/rubocop-performance/pull/299): Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][])

config/default.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# This is the default configuration file.
22

3+
Performance:
4+
Enabled: true
5+
DocumentationBaseURL: https://docs.rubocop.org/rubocop-performance
6+
37
Performance/AncestorsInclude:
48
Description: 'Use `A <= B` instead of `A.ancestors.include?(B)`.'
59
Reference: 'https://github.com/JuanitoFatas/fast-ruby#ancestorsinclude-vs--code'

0 commit comments

Comments
 (0)