From d65fd4a9743431e57bd33658f7345547eb17a158 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sat, 20 Mar 2021 20:35:15 +0100
Subject: [PATCH] fix: deprecate yarnrc

---
 lib/config/validation.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/config/validation.ts b/lib/config/validation.ts
index e5b737ec79..b547434a74 100644
--- a/lib/config/validation.ts
+++ b/lib/config/validation.ts
@@ -49,6 +49,8 @@ export async function validateConfig(
       branchName: `Direct editing of branchName is now deprecated. Please edit branchPrefix, additionalBranchPrefix, or branchTopic instead`,
       commitMessage: `Direct editing of commitMessage is now deprecated. Please edit commitMessage's subcomponents instead.`,
       prTitle: `Direct editing of prTitle is now deprecated. Please edit commitMessage subcomponents instead as they will be passed through to prTitle.`,
+      yarnrc:
+        'Use of `yarnrc` in config is deprecated. Please commit it to your repository instead.',
     };
     return deprecatedOptions[option];
   }
-- 
GitLab