Skip to main content
Lethean lthn .ai
Sign in Open console
lthn.ai Quality · Pattern catalog · QA

Core Lint

Core Lint is a pattern catalog and regex-based code checker — a multi-language QA toolkit that matches YAML rules against your source and wraps Go and PHP tooling (complexity, coverage, vulnerability checks) behind one structured API.

YAML rules
Pattern catalog
Multi-language
Scanned by extension
Zero framework deps
Standalone
core-lint
Binary
INCLUDED

What ships with it

A pattern catalog

YAML rules, embedded at compile time, compiled to regex and matched line by line. Each finding carries a rule ID, location, severity, and fix suggestion.

Wraps the real tooling

Complexity, coverage, and vulnerability checks for Go and PHP behind one structured API, with text, JSON, or JSONL output.

Language-aware scanning

Walks the tree, detects language by file extension, and skips vendor, node_modules, .git, and testdata.

Standalone

Zero framework dependencies — built on core/cli for scaffolding only, and runs anywhere as core-lint.

INTERFACE

Surface area

Scan
core lint

Match the catalog against a file or tree; emit text, JSON, or JSONL findings.

QA pipeline
core go qa

vet, lint, and test in one pass.

Toolkit
complexity · coverage · vulncheck

Structured Go and PHP quality APIs.

Binary
core-lint

The standalone checker, built from the catalog.

QUICKSTART

Scan a tree

Rules live as YAML in the catalog, embedded at build time. core lint emits text, JSON, or JSONL findings; the toolkit adds complexity, coverage, and vulncheck.

Scan a tree
core lint
core go qa
REFERENCE

Read the contract

Hold every repo to the same catalogue.

Regex rules plus complexity, coverage, and vulnerability checks — one command, structured output.