An ESLint plugin that enforces best practices for writing Pinia stores in Vue.js applications. Current stable version is 0.4.2, released in November 2025, with a focus on store structure and common pitfalls. It provides a recommended configuration that includes rules like never-export-initialized-store, no-duplicate-store-ids, no-return-global-properties, and no-store-to-refs-in-store, plus optional rules like prefer-single-store-per-file. Ships TypeScript types, requires ESLint >=8.0.0 and @typescript-eslint/utils >=7.5, and supports both legacy ESLint config and flat config.
Verified import paths — ran on the pinned version, not inferred.
ESM only; package has no default export in CJS. Use import for both flat and legacy configs.
In flat config, use 'recommended-flat' not 'recommended'. The 'recommended' key is for legacy .eslintrc.
In flat config, use 'all-flat'. The 'all' key is for legacy .eslintrc.
Shows how to import and configure the plugin in ESLint flat config, including rules and recommended preset.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.