libdenolint v2.0.14 is a Deno lint library binding for Node.js, providing a native (N-API/Rust) interface to deno_lint for linting JavaScript/TypeScript files. It offers both async and sync APIs, supports ESLint-like configuration via .denolint.json (files.include/exclude, rule tags), eslint-disable comments, custom ignore patterns, and AbortSignal. Unlike @node-rs/deno-lint, it adds flexibility: scanning specific directories, merging CLI and config ignores, and pretty/compact output. Released as semver, compatible with Node >= 12.
npm install libdenolintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates async project-wide linting, async single-file linting, and sync single-file linting with libdenolint.
Install @aspect-build/napi or use prebuilt binary from GitHub Releases if available.
Check changelog; ensure .denolint.json uses new fields (files.include, files.exclude, rules.tags, rules.exclude).
Update calls to denolint() to use options object with scanDirs and ignorePatterns.
Use deno_lint rule names (e.g., 'no-explicit-any', not 'no-console').
Only pass signal to denolint() or lint(); use synchronous methods only when cancellation is not needed.
Use dynamic import: const { denolint } = await import('libdenolint');Import correctly: import { lint } from 'libdenolint';Add "type": "module" to package.json or rename file to .mjs.
Update config to new format: { "files": { "include": ["src"], "exclude": [] }, "rules": {...} }No dependency data recorded yet.