From 00b6e0fac954e6ee7313d3f8a5b63aad625aa077 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 5 Jul 2023 11:08:57 +0200 Subject: [PATCH] fix: note old eslint plugin deprecation closes #10242 --- .changeset/two-terms-remain.md | 5 +++++ packages/migrate/migrations/svelte-4/migrate.js | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changeset/two-terms-remain.md diff --git a/.changeset/two-terms-remain.md b/.changeset/two-terms-remain.md new file mode 100644 index 000000000000..a5d370bddf5a --- /dev/null +++ b/.changeset/two-terms-remain.md @@ -0,0 +1,5 @@ +--- +'svelte-migrate': patch +--- + +fix: note old eslint plugin deprecation diff --git a/packages/migrate/migrations/svelte-4/migrate.js b/packages/migrate/migrations/svelte-4/migrate.js index f36395a038ee..620273450e20 100644 --- a/packages/migrate/migrations/svelte-4/migrate.js +++ b/packages/migrate/migrations/svelte-4/migrate.js @@ -44,6 +44,11 @@ export function update_pkg_json_content(content) { update_pkg('rollup-plugin-svelte', '^7.1.5'); update_pkg('prettier-plugin-svelte', '^2.10.1'); update_pkg('eslint-plugin-svelte', '^2.30.0'); + update_pkg( + 'eslint-plugin-svelte3', + '^4.0.0', + ' (this package is deprecated, use eslint-plugin-svelte instead. More info: https://svelte.dev/docs/v4-migration-guide#new-eslint-package)' + ); update_pkg( 'typescript', '^5.0.0',