From 99c99f01e06d17020b8232bfb9906efb8d248c81 Mon Sep 17 00:00:00 2001 From: Andreas Brain Date: Sat, 20 Apr 2024 16:05:11 +0200 Subject: [PATCH] feat(replacements): eslint-config-standard-with-typescript to eslint-config-love (#28529) Co-authored-by: Rhys Arkins --- lib/config/presets/internal/replacements.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index 3987253033afd3..7d65e76b5c3c61 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -15,6 +15,7 @@ export const presets: Record = { 'replacements:containerbase', 'replacements:cpx-to-maintenance-fork', 'replacements:cucumber-to-scoped', + 'replacements:eslint-config-standard-with-typescript-to-eslint-config-love', 'replacements:eslint-plugin-node-to-maintained-fork', 'replacements:fakerjs-to-scoped', 'replacements:fastify-to-scoped', @@ -198,6 +199,19 @@ export const presets: Record = { }, ], }, + 'eslint-config-standard-with-typescript-to-eslint-config-love': { + description: + '`eslint-config-standard-with-typescript` was renamed to `eslint-config-love`.', + packageRules: [ + { + matchCurrentVersion: '^43.0.1', + matchDatasources: ['npm'], + matchPackageNames: ['eslint-config-standard-with-typescript'], + replacementName: 'eslint-config-love', + replacementVersion: '43.1.0', + }, + ], + }, 'eslint-plugin-node-to-maintained-fork': { description: 'Replace stale `eslint-plugin-node` with a maintained fork: `eslint-plugin-n`.',