Skip to content

Troubleshooting

Start with npx lintlane doctor; each problem comes with a fix.

Symptom Likely cause / fix
Hooks don’t run core.hooksPath isn’t .husky/_. Run your package manager’s husky (via install, which runs prepare).
“lintlane: node_modules/lintlane not found” Dependencies aren’t installed. Run your package manager’s install.
biome: command not found in pre-commit Biome isn’t a dependency of the project. Install @biomejs/biome.
lint-staged: “no configuration found” Add a lint-staged key (run init).
commitlint: “Please add rules” Missing commitlint.config.mjs (run init).
lintlane commit says no adapter configured Add config.commitizen.path (run init).
No prompt on git commit Expected for -m, merges, amends, CI, GUI clients, Windows. Use lintlane commit.
Old hook silently does nothing It calls a 3.x file that no longer exists. init upgrades untouched ones; see Migrating.
Dashboard says Forbidden Open the exact URL printed by lintlane ui (it includes the token).
CI doesn’t run a check The workflow predates the check. Add the step, or disable the check under lintlane.checks.
  • Windows isn’t tested. The CLI avoids Unix-only APIs, but the guided prompt on git commit is skipped there and CI here runs on Ubuntu and macOS only.
  • The generated workflow targets GitHub Actions.
  • The guided prompt uses the standard Conventional Commits adapter.
  • lint-staged and commitlint behavior, including their config discovery, is theirs; see their docs for advanced setups (monorepos, per-folder configs).