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

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

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

0 comments on commit 6a519e2

Please sign in to comment.