# What changed in eslint-plugin-astro

> 19 changes in eslint-plugin-astro 1 to 3 from its official release notes, upgrade guides and advisories: 4 breaking, 2 deprecations, 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/eslint-plugin-astro/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## eslint-plugin-astro 3

### Deprecations

- 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.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.0.0)
- The rule is deprecated and removed from the recommended configuration; `astro check` is now recommended for project-wide diagnostics. (3.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.0.0)

### New APIs and options

- Adds support for eslint-plugin-jsx-a11y-x. (3.2.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.2.0)

### Behavior and default changes

- The <style lang="postcss"> transform supports postcss-load-config v4 and later and ESM-only PostCSS plugins; v3 keeps working. (3.2.1) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.2.1)

### Tooling

- Astro files are now parsed with Astro's Rust compiler instead of `@astrojs/compiler`. (3.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.0.0)

### Fixes and other changes

- The TypeScript parser is resolved from typescript-eslint when @typescript-eslint/parser is not installed directly. (3.1.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.1.0)
- Fixes a TypeError during preprocessing when eslint-plugin-astro encounters a self-closing <script /> tag. (3.0.1) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v3.0.1)

## eslint-plugin-astro 2

### Breaking changes

- ESLint v8 and v9 are no longer supported; ESLint v10.0.0 or later is required. (2.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.0.0)
- CommonJS entry points are removed; package usage must be ESM-only. (2.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.0.0)
- Node.js ^22.22.3, ^24.16.0, or >=26.3.0 is now required. (2.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.0.0)

### New APIs and options

- Adds the astro/no-omitted-end-tags rule for checking omitted end tags. (2.1.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.1.0)

### Behavior and default changes

- The rule is now included in the recommended config. (2.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.0.0)

### Tooling

- Configs were updated and reorganized. (2.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.0.0)

### Fixes and other changes

- Fixes false positives for component names that overlap with HTML tag names, such as <Head>, while preserving reported source offsets. (2.1.1) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v2.1.1)

## eslint-plugin-astro 1

### Breaking changes

- The plugin now uses astro-eslint-parser v1. (1.0.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v1.0.0)

### Security

- Adds a rule that disallows unsafe inline scripts. (1.4.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v1.4.0)

### Tooling

- Adds a rule that disallows prerender exports outside the pages/ directory. (1.7.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v1.7.0)
- Compatibility with eslint v10 is improved. (1.6.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v1.6.0)

### Fixes and other changes

- Fixes an error when eslint-plugin-astro is used with @eslint/json. (1.6.0) — [release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases/tag/v1.6.0)
