unstale

npm / @stylistic/eslint-plugin

@stylistic/eslint-plugin

What changed in @stylistic/eslint-plugin 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

2 breaking2 new APIs and options1 behavior and defaults

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

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@stylistic/eslint-plugin 45 changes

Breaking changes 2

  • The plugin is ESM-only and requires ESLint v9+ and flat config.

    4.0.0upgrade guide

  • Legacy config is no longer supported in v4; use flat config, and install v3.x if you still need legacy config.

    4.0.0upgrade guide

New APIs and options 2

  • A configuration preset disables legacy rules from presets you extend that have not yet migrated.

    4.0.0upgrade guide

  • A metadata package exposes rules and packages for programmatic use, helping developers handle migration themselves.

    4.0.0upgrade guide

Behavior and default changes 1

  • One rule can handle both JavaScript and TypeScript, so you no longer need to disable the built-in rule in favor of the @typescript-eslint version.

    4.0.0upgrade guide