UNPKG

eslint-plugin-depend

Version:

An ESLint plugin to suggest optimized dependencies, native alternatives and more

19 lines (18 loc) 545 B
/** * Generates a standard URL to the docs of a given rule * @param {string} name Rule name * @return {string} */ export declare function getDocsUrl(name: string): string; /** * Generates a URL for the given path on MDN * @param {string} path Docs path * @return {string} */ export declare function getMdnUrl(path: string): string; /** * Generates a URL for module-replacements documentation for a given path * @param {string} path Docs path * @return {string} */ export declare function getReplacementsDocUrl(path: string): string;