Skip to content

Commit 6fc6d22

Browse files
authored
Merge pull request #756 from r7kamura/feature/url
Fix incorrect documentation URLs when using `rubocop --show-docs-url`
2 parents 0d0767d + 3a33c3e commit 6fc6d22

File tree

2 files changed

+5
-0
lines changed

2 files changed

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

config/default.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Lint/NumberConversion:
6161
- fortnights
6262
- in_milliseconds
6363

64+
Rails:
65+
Enabled: true
66+
DocumentationBaseURL: https://docs.rubocop.org/rubocop-rails
67+
6468
Rails/ActionControllerTestCase:
6569
Description: 'Use `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase`.'
6670
StyleGuide: 'https://rails.rubystyle.guide/#integration-testing'

0 commit comments

Comments
 (0)