From eaffb3bf718c772ef529d740944122f35dafdc87 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 24 Aug 2022 08:38:56 +0900 Subject: [PATCH] Add DocumentationBaseURL --- changelog/change_add_documentationbaseurl.md | 1 + config/default.yml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog/change_add_documentationbaseurl.md diff --git a/changelog/change_add_documentationbaseurl.md b/changelog/change_add_documentationbaseurl.md new file mode 100644 index 0000000000..32f6695da8 --- /dev/null +++ b/changelog/change_add_documentationbaseurl.md @@ -0,0 +1 @@ +* [#756](https://github.com/rubocop/rubocop-rails/pull/756): Add DocumentationBaseURL. ([@r7kamura][]) diff --git a/config/default.yml b/config/default.yml index fc34cc8a79..cb76eca9d7 100644 --- a/config/default.yml +++ b/config/default.yml @@ -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'