Check and fix code
Use these commands while editing. They run Biome against your working files; they do not require you to stage changes or create a commit.
| Command | Result |
|---|---|
npx lintlane check |
Run biome check . without writing fixes. |
npx lintlane check src |
Check a particular path; multiple paths are supported. |
npx lintlane check:fix |
Run biome check --write . to apply supported fixes. |
npx lintlane check:fix src |
Apply supported fixes within selected paths. |
npx lintlane ci |
Run biome ci --reporter=github . without writing fixes. |
npx lintlane ci src |
Run the Biome CI command on selected paths. |
ci is the Biome-only command. Use run for the broader project pipeline.
A typical edit cycle
Section titled “A typical edit cycle”# Inspect a specific area without changing it.npx lintlane check src
# Apply supported formatting and lint fixes.npx lintlane check:fix src
# Review the actual changes before staging them.git diffSome diagnostics need a manual code change. Read the reported rule and file location, update the code, and run the check again.