ESLint integration for embedded TypeScript compilation. Version 3.1.0 provides a runtime ESLint compiler that extends embed-typescript, allowing linting during TypeScript compilation within Node.js or browser applications. Released as part of the embed-typescript monorepo with periodic updates. Key differentiator: unified diagnostics where ESLint violations are reported as TypeScript diagnostics, with full support for type-aware @typescript-eslint rules. Requires peer dependencies: embed-typescript, typescript, eslint, @typescript-eslint/parser, and @typescript-eslint/eslint-plugin.
npm install embed-eslintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an EmbedEsLint compiler with custom rules, compiles a TypeScript file, and outputs ESLint diagnostics.
Install embed-eslint and change imports from 'embed-typescript' to 'embed-eslint' for ESLint functionality.
Upgrade to v2.0.1 or higher.
Run: npm install embed-typescript typescript eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
Ensure your compilerOptions include 'strict: true' or set 'noEmit: false' to enable type-aware lint rules.
Install the package: npm install embed-eslint
Use correct named import: import { EmbedEsLint } from 'embed-eslint'Install the missing dependency: npm install @typescript-eslint/parser