Skip to content

Commit

Permalink
feat: eslint-plugin-node to eslint-plugin-n (#26907)
Browse files Browse the repository at this point in the history
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
aladdin-add and rarkins committed Mar 18, 2024
1 parent d5a8184 commit af31adb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/config/presets/internal/replacements.ts
Expand Up @@ -15,6 +15,7 @@ export const presets: Record<string, Preset> = {
'replacements:containerbase',
'replacements:cpx-to-maintenance-fork',
'replacements:cucumber-to-scoped',
'replacements:eslint-plugin-node-to-maintained-fork',
'replacements:fakerjs-to-scoped',
'replacements:fastify-to-scoped',
'replacements:hapi-to-scoped',
Expand Down Expand Up @@ -197,6 +198,19 @@ export const presets: Record<string, Preset> = {
},
],
},
'eslint-plugin-node-to-maintained-fork': {
description:
'Replace stale `eslint-plugin-node` with a maintained fork: `eslint-plugin-n`.',
packageRules: [
{
matchCurrentVersion: '^11.1.0',
matchDatasources: ['npm'],
matchPackageNames: ['eslint-plugin-node'],
replacementName: 'eslint-plugin-n',
replacementVersion: '14.0.0',
},
],
},
'fakerjs-to-scoped': {
description: '`fakerjs` packages became scoped.',
packageRules: [
Expand Down

0 comments on commit af31adb

Please sign in to comment.