Skip to content

Commit

Permalink
fix: add matchCurrentVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Mar 4, 2024
1 parent c0e9d68 commit e4da263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/presets/internal/replacements.ts
Expand Up @@ -186,6 +186,7 @@ export const presets: Record<string, Preset> = {
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',
Expand Down

0 comments on commit e4da263

Please sign in to comment.