unstale

npm / eslint-plugin-astro

eslint-plugin-astro

What changed in eslint-plugin-astro 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

4 breaking1 security2 deprecations2 new APIs and options2 behavior and defaults4 tooling4 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

eslint-plugin-astro 37 changes

Deprecations 2

  • The rule is deprecated, is now a no-op, and is removed from the recommended configuration because Astro's Rust compiler rejects omitted end tags during parsing.

    3.0.0release notes

  • The rule is deprecated and removed from the recommended configuration; astro check is now recommended for project-wide diagnostics.

    3.0.0release notes

New APIs and options 1

Behavior and default changes 1

  • The <style lang="postcss"> transform supports postcss-load-config v4 and later and ESM-only PostCSS plugins; v3 keeps working.

    3.2.1release notes

Tooling 1

  • Astro files are now parsed with Astro's Rust compiler instead of @astrojs/compiler.

    3.0.0release notes

Fixes and other changes 2

  • The TypeScript parser is resolved from typescript-eslint when @typescript-eslint/parser is not installed directly.

    3.1.0release notes

  • Fixes a TypeError during preprocessing when eslint-plugin-astro encounters a self-closing <script /> tag.

    3.0.1release notes

eslint-plugin-astro 27 changes

Breaking changes 3

  • ESLint v8 and v9 are no longer supported; ESLint v10.0.0 or later is required.

    2.0.0release notes

  • CommonJS entry points are removed; package usage must be ESM-only.

    2.0.0release notes

  • Node.js ^22.22.3, ^24.16.0, or >=26.3.0 is now required.

    2.0.0release notes

New APIs and options 1

  • Adds the astro/no-omitted-end-tags rule for checking omitted end tags.

    2.1.0release notes

Behavior and default changes 1

  • The rule is now included in the recommended config.

    2.0.0release notes

Tooling 1

Fixes and other changes 1

  • Fixes false positives for component names that overlap with HTML tag names, such as <Head>, while preserving reported source offsets.

    2.1.1release notes

eslint-plugin-astro 15 changes

Breaking changes 1

Security 1

  • Adds a rule that disallows unsafe inline scripts.

    1.4.0release notes

Tooling 2

  • Adds a rule that disallows prerender exports outside the pages/ directory.

    1.7.0release notes

  • Compatibility with eslint v10 is improved.

    1.6.0release notes

Fixes and other changes 1

  • Fixes an error when eslint-plugin-astro is used with @eslint/json.

    1.6.0release notes