Files
NapCatQQ/.pnpm-store/v3/files/2a/e2acfa7255ddd57cc067f19dfa5524d284b2327037bec6775f327b4029040fcbb74ebbbd1d67b227527afa05af2a38ddd8849c361332fbd747377dbca621e4
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

18 lines
506 B
Plaintext

'use strict'
const REPO_URL = 'https://github.com/eslint-community/eslint-plugin-promise'
/**
* Generates the URL to documentation for the given rule name. It uses the
* package version to build the link to a tagged version of the
* documentation file.
*
* @param {string} ruleName - Name of the eslint rule
* @returns {string} URL to the documentation for the given rule
*/
function getDocsUrl(ruleName) {
return `${REPO_URL}/blob/main/docs/rules/${ruleName}.md`
}
module.exports = getDocsUrl