Skip to content

Troubleshooting and help

Fixes for common Lintsure problems, how to report a false alarm, and where to get help.

Start with npx lintsure status. It checks Node, your config, the rule packs, .lintsure/rules.yml and which agents have the MCP server, and says what’s missing.

Common problems

The scan shows no findings

  • Check you ran it in the right folder: npx lintsure scan /path/to/your-app.
  • Look at the Not covered section and the skipped-files count. Files over 1 MB, binary files and unreadable files aren’t read.
  • Rules target JavaScript, TypeScript and Python. Other languages are mostly not checked.
  • Some findings are held back by default. Run with --all to see them.
  • No findings means nothing matched, not that the code is clean. See Status and limits.

There are too many findings

  • Check one framework at a time: --framework gdpr.
  • Skip folders you don’t ship, like fixtures or vendored code, in lintsure.config.yaml. See Configuration.
  • Save a baseline with lintsure baseline, then use --new-only in CI so only new findings fail the build.
  • Record findings you’ve reviewed and accepted in .lintsure/accepted.yaml.

“Unsupported engine” or a syntax error on start

Lintsure needs Node.js 22 or newer. Check with node --version.

The agent doesn’t see Lintsure’s tools

  • Run npx lintsure setup in the project folder, then restart the agent.
  • Check the agent’s MCP file has a lintsure entry: .mcp.json, .cursor/mcp.json, .vscode/mcp.json or .gemini/settings.json.
  • On Windows, see the notes in MCP server.

A guard didn’t step in

  • Check the plugin is installed: open /plugin in Claude Code.
  • Check the guard isn’t switched off: LINTSURE_DANGER, LINTSURE_LOOP, LINTSURE_THREAT or LINTSURE_HOOK set to off.
  • Drift Guard only holds the agent to rules that are written down in .lintsure/rules.yml.
  • The guards are pattern checks and can miss things. Keep your normal permission settings on.

CI fails after an update

A new release can add checks. Pin the version in CI (lintsure@0.3.17) and read the changelog before you move it forward.

Report a false alarm or a missed problem

Send a review with the rule id and what you expected. False alarms are how the rules get better, and each release lists what changed because of them.

Get help

  • Questions about using Lintsure: the FAQ, or contact us.
  • Bugs and feature requests: open an issue on GitHub.
  • A security problem in Lintsure itself: see the security policy in the repository.

Lintsure is a readiness tool, not an audit or legal advice. Results cover code only; a qualified person should review them. Disclaimer