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 0d0767d commit 76e5c7d
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 @@
* [#756](https://github.com/rubocop/rubocop-rails/pull/756): Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][])
4 changes: 4 additions & 0 deletions config/default.yml
Expand Up @@ -61,6 +61,10 @@ Lint/NumberConversion:
- fortnights
- in_milliseconds

Rails:
DocumentationBaseURL: https://docs.rubocop.org/rubocop-rails
Enabled: true

Rails/ActionControllerTestCase:
Description: 'Use `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase`.'
StyleGuide: 'https://rails.rubystyle.guide/#integration-testing'
Expand Down

0 comments on commit 76e5c7d

Please sign in to comment.