{"id":25163,"library":"denolint","title":"denolint","description":"Deno lint command-line executable for Node.js, version 2.0.14, released monthly. It leverages the Rust-based deno_lint engine via N-API to provide fast linting for both JavaScript and TypeScript, outperforming eslint. Key differentiators include support for eslint-style ignore patterns, configurable directories, eslint-disable comments, and multiple output formats. It is a fork of @node-rs/deno-lint with added flexibility and CLI usability improvements.","status":"active","version":"2.0.14","language":"javascript","source_language":"en","source_url":"https://github.com/prantlf/denolint","tags":["javascript","deno-lint","deno","lint","eslint","napi-rs","napi","n-api","rust"],"install":[{"cmd":"npm install denolint","lang":"bash","label":"npm"},{"cmd":"yarn add denolint","lang":"bash","label":"yarn"},{"cmd":"pnpm add denolint","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"denolint is a CLI tool; typically invoked via npx or installed globally.","wrong":"denolint (if not installed globally)","symbol":"bin","correct":"npx denolint"}],"quickstart":{"code":"npx denolint --config .denolint.json src/","lang":"javascript","description":"Runs denolint with a custom config file on the src/ directory."},"warnings":[{"fix":"Replace --root with -p or --project","message":"The --root argument has been renamed to --project","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Use shell workaround to ignore exit code","message":"The --check-only argument is not supported","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Create .denolint.json with rules in the format described in README","message":"Config file .denolint.json is used instead of .eslintrc","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Update Node.js to version 12 or later","message":"denolint requires Node.js >=12","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Check deno_lint rules list for supported rules","message":"denolint does not support all ESLint rules; rules are from deno_lint","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use npx denolint or install via npm i -g denolint","cause":"denolint not installed globally or locally","error":"Error: Cannot find module 'denolint'"},{"fix":"Create .denolint.json or specify --no-config to skip","cause":"Missing config file in project root","error":"Error: config file not found: .denolint.json"},{"fix":"Use only deno_lint rules; see deno_lint documentation","cause":"Rules from ESLint are not available","error":"Error: Unsupported rules"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}