Official ESLint plugin for Svelte that leverages AST from svelte-eslint-parser. Current stable version is 3.17.1, with active release cadence (multiple minor/patch releases per month). Provides 80+ rules covering accessibility, best practices, style, and Svelte-specific patterns. Supports Svelte 3, 4, and 5. Requires ESLint v8.57.1+, v9+ or v10+. Ships TypeScript definitions. Recommended over deprecated eslint-plugin-svelte3. Integrates with flat config (eslint.config.js) and provides recommended configs.
Verified import paths — ran on the pinned version, not inferred.
ESM-only since v3; CommonJS require will fail. Use default import to get the plugin object for flat config.
defineConfig is from eslint package, not from eslint-plugin-svelte. Common mistake is to import it from eslint-plugin-svelte.
configs is a property of the default export, not a named export. Use svelte.configs.recommended.
Flat config using TypeScript-ESLint parser for Svelte files and recommending both TypeScript and Svelte rules.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.