AI CodeLint

Use LLMs to lint code
AI-CodeLint catches logic bugs that escape
compilation, testing & traditional linting.

Usage

  1. 1

    Install the binary using one of the scripts below.

    macOS / Linux

    curl -fsSL https://raw.githubusercontent.com/RussellGN/AI-CodeLint/main/scripts/install.sh | sh

    Windows (PowerShell)

    irm https://raw.githubusercontent.com/RussellGN/AI-CodeLint/main/scripts/install.ps1 | iex
  2. 2

    Get an API key from OpenRouter.ai
    AI-CodeLint uses OpenRouter to easily switch between different LLMs.

  3. 3

    Run and complete the configuration wizard, making sure to read all output carefully.

    ai-codelint --configure
  4. 4

    Lint a file from the command line to test everything works.

    ai-codelint --mode cli --path <path/to/file>
  5. 5

    Use AI-CodeLint how it was meant to be used by installing the VS Code extension. It will automatically surface bugs identified in any code file by the already installed AI-CodeLint binary.

    Open the extensions tab in VS Code and search ai-codelint, or click on the link below:

    Install From VS Code Marketplace

    Extensions for other IDEs are incoming.

GitHub
View source