Registry / testing / denolint

denolint

JSON →
library2.0.14jsnpmunverified

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.

npm install denolint
INSTALL
IMPORT
SIG · DENOLINT
D
denolint
testingjavascriptv2.0.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bin
npx denolint
denolint (if not installed globally)
denolint is a CLI tool; typically invoked via npx or installed globally.

Runs denolint with a custom config file on the src/ directory.

npx denolint --config .denolint.json src/
denolint --version
Debug
Known issues
breakingThe --root argument has been renamed to --project
fix
Replace --root with -p or --project
affects: >=2.0.0
breakingThe --check-only argument is not supported
fix
Use shell workaround to ignore exit code
affects: >=2.0.0
deprecatedConfig file .denolint.json is used instead of .eslintrc
fix
Create .denolint.json with rules in the format described in README
affects: >=2.0.0
gotchadenolint requires Node.js >=12
fix
Update Node.js to version 12 or later
affects: >=1.0.0
gotchadenolint does not support all ESLint rules; rules are from deno_lint
fix
Check deno_lint rules list for supported rules
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'denolint'
denolint not installed globally or locally
fix
Use npx denolint or install via npm i -g denolint
Error: config file not found: .denolint.json
Missing config file in project root
fix
Create .denolint.json or specify --no-config to skip
Error: Unsupported rules
Rules from ESLint are not available
fix
Use only deno_lint rules; see deno_lint documentation
Upgrade
Version history
2.0.14latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
denolint — npm install denolint · libregistry