Metadata-Version: 2.4
Name: llm-lint
Version: 0.1.2
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Quality Assurance
Summary: LLM-oriented CLI linter — catch quality drift before it hardens (Rust binary).
Keywords: cli,code-quality,static-analysis,linter,ai,llm
Author-email: Joshua Gilley <joshdgilley@gmail.com>
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Bug Tracker, https://github.com/joshuagilley/llm-lint/issues
Project-URL: Homepage, https://github.com/joshuagilley/llm-lint
Project-URL: Repository, https://github.com/joshuagilley/llm-lint

# llm-lint

Static checks for “LLM slop” and related drift: oversized files/functions, duplicate bodies, noisy helpers, risky env fallbacks, and secret-shaped strings. Rust implementation; config via **`llm-lint.toml`** (or **`llm-lint.json`**) in the scan root.

## Install

| Channel | Command |
|--------|---------|
| **Cargo** | `cargo install --path .` or install from crates.io when published |
| **pip** | `pip install llm-lint` (wheels via [maturin](https://www.maturin.rs/)) |
| **npm** | `npm install -D llm-lint-cli` then `npx llm-lint scan .` (uses [uv](https://docs.astral.sh/uv/) + PyPI `llm-lint`) |

## Usage

```bash
llm-lint scan .
llm-lint scan . -f json --fail-threshold 20
```

## Release & publishing

See **[RELEASING.md](RELEASING.md)** for PyPI trusted publishing, npm token, and **`scripts/release.py`**.

## Repo layout

- **`Cargo.toml`** / **`src/`** — CLI and library
- **`pyproject.toml`** — PyPI metadata + maturin (`bindings = "bin"`)
- **`npm/`** — `llm-lint-cli` wrapper + starter **`templates/llm-lint.toml`**
- **`.github/workflows/`** — CI + publish on GitHub Release

