From 60688936c81bc73440059e2934ba93560d54e58a Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 18 Oct 2022 17:39:44 +0000 Subject: [PATCH] config/rails_cops: Update styleguide links now `master` => `main` - GitHub will do the redirection for a bit (not sure exactly how long), but it's nice to make these a direct link rather than an onward hop. --- config/rails_cops.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rails_cops.yml b/config/rails_cops.yml index ef3d9a4f..f8f817e1 100644 --- a/config/rails_cops.yml +++ b/config/rails_cops.yml @@ -8,7 +8,7 @@ GitHub/RailsControllerRenderActionSymbol: GitHub/RailsControllerRenderLiteral: Enabled: pending - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md + StyleGuide: https://github.com/github/rubocop-github/blob/main/guides/rails-render-literal.md Include: - 'app/controllers/**/*.rb' @@ -21,13 +21,13 @@ GitHub/RailsControllerRenderPathsExist: GitHub/RailsControllerRenderShorthand: Enabled: pending - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-shorthand.md + StyleGuide: https://github.com/github/rubocop-github/blob/main/guides/rails-controller-render-shorthand.md Include: - 'app/controllers/**/*.rb' GitHub/RailsRenderInline: Enabled: pending - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-inline.md + StyleGuide: https://github.com/github/rubocop-github/blob/main/guides/rails-controller-render-inline.md Include: - 'app/controllers/**/*.rb' - 'app/helpers/**/*.rb' @@ -39,7 +39,7 @@ GitHub/RailsRenderObjectCollection: GitHub/RailsViewRenderLiteral: Enabled: pending - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md + StyleGuide: https://github.com/github/rubocop-github/blob/main/guides/rails-render-literal.md Include: - 'app/helpers/**/*.rb' - 'app/view_models/**/*.rb' pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy