Skip to content

Run project checks

Use run when you want more than formatting and linting. It runs the checks available in your project, using the same check configuration as the dashboard and workflow generator.

Command Result
npx lintlane run --list List available checks and whether each runs by default.
npx lintlane run Run enabled, detected checks in order; stop after the first failure.
npx lintlane run --keep-going Continue through the remaining checks after a failure.
npx lintlane run biome test Run selected available checks in pipeline order.
npx lintlane run install Explicitly run the frozen-lockfile dependency install.

The pipeline order is:

Order Check ID What runs
1 install Frozen-lockfile install for the detected package manager; off by default locally.
2 biome biome ci ..
3 typecheck First detected script: typecheck, type-check, check-types, or tsc. Locally, a tsconfig.json and installed tsc can provide a tsc --noEmit fallback.
4 build The project’s build script, when available.
5 test The project’s test script, excluding npm’s placeholder.

Customize the pipeline in package.json:

{
"lintlane": {
"checks": {
"biome": true,
"typecheck": true,
"build": false,
"test": "test:unit"
}
}
}

false disables a check; true keeps detection; a string selects an existing script for typecheck, build, or test. Biome accepts only a boolean. install is selected explicitly on the CLI, rather than configured here. Missing checks are not invented: add the relevant project scripts to enable them.

By default, the first failing check stops the pipeline. Read its output, fix the problem, and rerun the command. Use --keep-going if you want to collect failures from the remaining checks in one pass.

Lintlane detects scripts; it does not create your test suite or build system. For example, a project with TypeScript and a unit test runner might expose:

{
"scripts": {
"typecheck": "tsc --noEmit",
"build": "next build",
"test:unit": "vitest run"
},
"lintlane": {
"checks": {
"test": "test:unit"
}
}
}

This example assumes Next.js, TypeScript, and Vitest are already installed in your project. Use your own tools and scripts.

After editing scripts or lintlane.checks, run npx lintlane doctor and review .github/workflows/biome.yml. The generated workflow is written during setup and is not continuously rewritten. Define a typecheck script if you need type checking in CI; the local tsc --noEmit fallback is not emitted as a workflow step.

Understand the generated CI workflow