ESLint configuration for Taro projects, providing linting rules for React/JSX and Vue (optional). Current stable version 4.2.0, released as part of Taro monorepo. Requires ESLint ^8 and supports both Taro 3 and 4. Integrates with eslint-plugin-react, eslint-plugin-react-hooks, and optionally eslint-plugin-vue. Designed for cross-platform app development. Differentiator: official config from Taro team with rules tuned for Taro's component system and JSX transformations. Release cadence follows Taro releases (~monthly).
Verified import paths — ran on the pinned version, not inferred.
ESM-only since Taro 4. Use .eslintrc.cjs and require() in CommonJS projects, but default import works in both.
Use the short name 'taro' in extends. The full package name works but is not conventional.
Append /vue to use Vue-specific rules. Requires eslint-plugin-vue installed.
Base ESLint configuration for a Taro React project using eslint-config-taro.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.