unstale

npm / eslint-plugin-svelte

eslint-plugin-svelte

What changed in eslint-plugin-svelte 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-07.

10 breaking2 deprecations10 new APIs and options9 behavior and defaults1 tooling8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.11 on npm

eslint-plugin-svelte 336 changes

Breaking changes 6

  • Support for old ESLint versions was dropped.

    3.0.0release notes

  • The plugin is now an ESM-only package.

    3.0.0release notes

  • The rule was updated to follow Svelte 5.

    3.0.0release notes

  • The rule was renamed to no-raw-special-elements.

    3.0.0release notes

  • The recommended config enables 20 additional rules, which may introduce breaking lint errors.

    3.0.0release notes

  • The plugin upgraded to svelte-eslint-parser v1.

    3.0.0release notes

Deprecations 2

New APIs and options 10

Behavior and default changes 9

  • The all configuration excludes deprecated rules while keeping active rules enabled.

    3.23.1release notes

  • The recommended config enables this rule on SvelteKit 3, reporting internal links and navigation calls that omit resolve().

    3.23.1release notes

  • The rule now provides a suggestion.

    3.0.0release notes

  • Transitions are now allowed by default.

    3.0.0release notes

  • The rule was removed from the recommended rules.

    3.0.0release notes

  • The rule was removed from the recommended config.

    3.0.0release notes

  • Version information is detected from node_modules when it is not specified in package.json, including pnpm catalogs.

    3.0.0release notes

  • The base config now includes this file pattern.

    3.0.0release notes

  • The rule now supports Svelte 5.

    3.0.0release notes

Tooling 1

Fixes and other changes 8

  • Fixes false positives for TypeScript components when ecmaFeatures.globalReturn is enabled.

    3.23.1release notes

  • Recognizes browser from SvelteKit's $app/env alias as a browser guard.

    3.23.1release notes

  • Diagnostics are limited to the opening each tag instead of covering the whole block.

    3.23.1release notes

  • Rule conditions recognize SvelteKit 3, including prereleases.

    3.23.1release notes

  • Each blocks without an item are now supported.

    3.0.0release notes

  • The rule no longer crashes with ESLint v9.16.0.

    3.0.0release notes

  • The rule ignores css_unused_selector compile errors when a style tag has the global attribute.

    3.0.0release notes

  • The rule now allows children.

    3.0.0release notes

eslint-plugin-svelte 24 changes

Breaking changes 4

  • The package was renamed from @ota-meshi/eslint-plugin-svelte; replace the package name in package.json.

    2.0.0upgrade guide

  • Version 2 is an independent eslint-plugin rather than an alias for eslint-plugin-svelte3; use eslint-plugin-svelte3 for the previous behavior.

    2.0.0upgrade guide

  • The preset namespace changed from plugin:@ota-meshi/svelte/recommended to plugin:svelte/recommended.

    2.0.0upgrade guide

  • Rule configuration moved from the @ota-meshi/svelte namespace to the svelte namespace.

    2.0.0upgrade guide