eslint-plugin-astro
JSON →An ESLint plugin for linting Astro components. Version 1.7.0 is the latest stable release, with active development and releases roughly monthly. It lints frontmatter, HTML templates, JSX-like expressions, client-side scripts, and directives. Supports both flat config (eslint.config.js) and legacy config (.eslintrc). Ships TypeScript types. Requires eslint >=8.57.0 and Node.js ^18.18.0 || ^20.9.0 || >=21.1.0. Differentiators: official AST-based parsing for Astro, rules for sort-attributes, no-unsafe-inline-scripts, and no-prerender-export-outside-pages. Community-maintained by ota-meshi.
Traffic · last 30 days ↓71% vs prev 7d
total hits 13
actors 5 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · 🇪🇸 Spain
Resources
API endpoints
full doc /v1/registry/eslint-plugin-astro
compatibility /v1/registry/eslint-plugin-astro/compatibility