Integrates ESLint linting into Volar's language service for virtual file systems. Current stable version 0.0.17, updated frequently as part of the Volar services monorepo. It leverages Volar's virtual code support to provide accurate lint diagnostics for embedded languages (e.g., Vue SFCs, MDX). Unlike standalone ESLint, it operates within Volar's incremental document model, enabling real-time linting results in editor extensions. Requires @volar/language-service ~1.11 and ESLint as peer dependencies. Ships TypeScript types.
npm install volar-service-eslintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the ESLint service with Volar's language service and shows how to trigger lint validation.
Ensure you pass 'eslint' as the module or import it.
Use directly with ESLint for non-Volar setups.
Upgrade to v0.0.10+ and use 'create' from 'volar-service-eslint'.
Run 'npm install @volar/language-service' or add it to your dependencies.
Make sure to pass the actual eslint module: { eslint: require('eslint') }Ensure @volar/language-service matches the peer dependency ~1.11.