feat(replacements): eslint-config-standard-with-typescript to eslint-config-love (#28529)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
This commit is contained in:
Andreas Brain 2024-04-20 16:05:11 +02:00 committed by GitHub
parent bf5eeb54da
commit 99c99f01e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,7 @@ export const presets: Record<string, Preset> = {
'replacements:containerbase', 'replacements:containerbase',
'replacements:cpx-to-maintenance-fork', 'replacements:cpx-to-maintenance-fork',
'replacements:cucumber-to-scoped', 'replacements:cucumber-to-scoped',
'replacements:eslint-config-standard-with-typescript-to-eslint-config-love',
'replacements:eslint-plugin-node-to-maintained-fork', 'replacements:eslint-plugin-node-to-maintained-fork',
'replacements:fakerjs-to-scoped', 'replacements:fakerjs-to-scoped',
'replacements:fastify-to-scoped', 'replacements:fastify-to-scoped',
@ -198,6 +199,19 @@ export const presets: Record<string, Preset> = {
}, },
], ],
}, },
'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': { 'eslint-plugin-node-to-maintained-fork': {
description: description:
'Replace stale `eslint-plugin-node` with a maintained fork: `eslint-plugin-n`.', 'Replace stale `eslint-plugin-node` with a maintained fork: `eslint-plugin-n`.',