From dea8652709961efa6928e542782e420277772fbe Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Sun, 14 Dec 2025 17:25:00 +0100 Subject: [PATCH] fix: update replacements url --- src/analyze/replacements.ts | 2 +- src/test/__snapshots__/custom-manifests.test.ts.snap | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/analyze/replacements.ts b/src/analyze/replacements.ts index 8adfc12..56c8172 100644 --- a/src/analyze/replacements.ts +++ b/src/analyze/replacements.ts @@ -17,7 +17,7 @@ import {LocalFileSystem} from '../local-file-system.js'; * @return {string} */ export function getDocsUrl(name: string): string { - return `https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/${name}.md`; + return `https://github.com/es-tooling/module-replacements/blob/main/docs/modules/${name}.md`; } /** diff --git a/src/test/__snapshots__/custom-manifests.test.ts.snap b/src/test/__snapshots__/custom-manifests.test.ts.snap index 2ebaff8..9c4d3f3 100644 --- a/src/test/__snapshots__/custom-manifests.test.ts.snap +++ b/src/test/__snapshots__/custom-manifests.test.ts.snap @@ -20,7 +20,7 @@ exports[`Custom Manifests > should load and use custom manifest files 1`] = ` "severity": "warning", }, { - "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/request-alternatives.md.", + "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/module-replacements/blob/main/docs/modules/request-alternatives.md.", "score": 0, "severity": "warning", }, @@ -50,7 +50,7 @@ exports[`Custom Manifests > should load multiple manifest files 1`] = ` "severity": "warning", }, { - "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/request-alternatives.md.", + "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/module-replacements/blob/main/docs/modules/request-alternatives.md.", "score": 0, "severity": "warning", }, @@ -91,7 +91,7 @@ exports[`Custom Manifests > should prioritize custom replacements over built-in "severity": "warning", }, { - "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/eslint-plugin-depend/blob/main/docs/rules/request-alternatives.md.", + "message": "Module "@e18e/fake-3" can be replaced with a more performant alternative. See the list of available alternatives at https://github.com/es-tooling/module-replacements/blob/main/docs/modules/request-alternatives.md.", "score": 0, "severity": "warning", },