Skip to content

Commit 70f0012

Browse files
authored
chore: fix branch of rule docs link URL to main (#381)
1 parent 72cfdc8 commit 70f0012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/lib/get-docs-url.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const REPO_URL = 'https://github.com/eslint-community/eslint-plugin-promise'
1111
* @returns {string} URL to the documentation for the given rule
1212
*/
1313
function getDocsUrl(ruleName) {
14-
return `${REPO_URL}/blob/master/docs/rules/${ruleName}.md`
14+
return `${REPO_URL}/blob/main/docs/rules/${ruleName}.md`
1515
}
1616

1717
module.exports = getDocsUrl

0 commit comments

Comments
 (0)