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.
1 parent 0e00592 commit 79e8bdaCopy full SHA for 79e8bda
rules/lib/get-docs-url.js
@@ -1,7 +1,5 @@
1
'use strict'
2
3
-const pkg = require('../../package')
4
-
5
const REPO_URL = 'https://github.com/xjamundx/eslint-plugin-promise'
6
7
/**
@@ -13,7 +11,7 @@ const REPO_URL = 'https://github.com/xjamundx/eslint-plugin-promise'
13
11
* @returns {string} URL to the documentation for the given rule
14
12
*/
15
function getDocsUrl(ruleName) {
16
- return `${REPO_URL}/tree/v${pkg.version}/docs/rules/${ruleName}.md`
+ return `${REPO_URL}/blob/master/docs/rules/${ruleName}.md`
17
}
18
19
module.exports = getDocsUrl
0 commit comments