Registry / testing / million-lint-check

million-lint-check

JSON →
library1.0.18jsnpmunverified

CLI tool to verify if Million Lint is active in a project. v1.0.18 (latest). Detects package manager, runs @million/lint, fuzzes frontend with Puppeteer to confirm lint suggestions in shadow DOM. Requires VSCode. Compatible with Next.js dev servers. Only tested on limited projects.

npm install million-lint-check
INSTALL
IMPORT
SIG · MILLION-LINT-CHECK
M
million-lint-check
testingjavascriptv1.0.18
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.

million-lint-check
npx million-lint-check@latest setup <port>
npx million-lint-check setup (without @latest or port)
CLI is run via npx, not imported as a module. Always specify @latest to get the newest version.

Run the CLI to verify Million Lint on a development server at port 3000.

npx million-lint-check@latest setup 3000
Debug
Known issues
gotchaOnly works with VSCode - if VSCode is not the default editor or not installed, the tool may fail.
fix
Ensure VSCode is installed and accessible via `code` command in PATH.
affects: >=1.0.0
gotchaRequires a running development server with a frontend that has Million Lint configured.
fix
Set up Million Lint manually in the project before running this checker.
affects: >=1.0.0
gotchaOnly tested on Next.js projects; may not work with other frameworks.
fix
Use only with Next.js or test manually for other frameworks.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module '@antfu/ni'
The package manager detection dependency is missing.
fix
Run `npm install @antfu/ni` or ensure all dependencies are installed.
Error: Failed to launch the browser process!
Puppeteer cannot find a compatible browser (Chrome/Chromium).
fix
Set PUPPETEER_EXECUTABLE_PATH environment variable to a Chrome/Chromium binary or install Chromium via Puppeteer.
Error: No development server detected on port 3000
The development server is not running or not accessible on the specified port.
fix
Start the dev server separately with `npm run dev` and then run the checker with the correct port.
Upgrade
Version history
1.0.18latest on npm
Audit
Dependencies
@million/lintrequiredruntime dependency for running Million Lint analysis
puppeteerrequiredused to automate browser interaction and detect lint suggestions
@antfu/nirequiredpackage manager detection for local setup
Agent activity
1 hits · last 30 days
ahrefsbot
1
Resources
million-lint-check — npm install million-lint-check · libregistry