Skip to content

Commit

Permalink
chore: fix branch of rule docs link URL to main (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Oct 19, 2022
1 parent 72cfdc8 commit 70f0012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/lib/get-docs-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 70f0012

Please sign in to comment.