From 70f00122895b30f6b912122e25dd7686418f7318 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Thu, 20 Oct 2022 06:03:02 +0900 Subject: [PATCH] chore: fix branch of rule docs link URL to `main` (#381) --- rules/lib/get-docs-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/lib/get-docs-url.js b/rules/lib/get-docs-url.js index 87b9a6fa..eaf266cd 100644 --- a/rules/lib/get-docs-url.js +++ b/rules/lib/get-docs-url.js @@ -11,7 +11,7 @@ const REPO_URL = 'https://github.com/eslint-community/eslint-plugin-promise' * @returns {string} URL to the documentation for the given rule */ function getDocsUrl(ruleName) { - return `${REPO_URL}/blob/master/docs/rules/${ruleName}.md` + return `${REPO_URL}/blob/main/docs/rules/${ruleName}.md` } module.exports = getDocsUrl