We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
main
1 parent 72cfdc8 commit 70f0012Copy full SHA for 70f0012
rules/lib/get-docs-url.js
@@ -11,7 +11,7 @@ const REPO_URL = 'https://github.com/eslint-community/eslint-plugin-promise'
11
* @returns {string} URL to the documentation for the given rule
12
*/
13
function getDocsUrl(ruleName) {
14
- return `${REPO_URL}/blob/master/docs/rules/${ruleName}.md`
+ return `${REPO_URL}/blob/main/docs/rules/${ruleName}.md`
15
}
16
17
module.exports = getDocsUrl
0 commit comments