Skip to content

SARJ / CODE STANDARDS

Sarj Standards

Run 163 deterministic rules for Python, TypeScript, SQL, IaC, and text from one CLI.

src/user.test.ts:1:1 eslint:duplicate-test-body

Disallow substantial sibling tests with the same body shape; express their differing inputs as a parameterized case table.

test('accepts a', () => { const result = parse('a'); expect(result.ok).toBe(true); expect(result.value).toBe('a'); });
test('accepts b', () => { const result = parse('b'); expect(result.ok).toBe(true); expect(result.value).toBe('b'); });
163active rules
5analysis engines
163errors by default
1coherent command

SETUP

Set up Standards

  1. 01 uv tool install --python 3.14 sarj-standards

    Install the CLI in an isolated Python 3.14 tool environment.

  2. 02 sarj-standards setup

    adopt or converge the repository in one idempotent operation

  3. 03 sarj-standards doctor

    diagnose adoption health and optionally repair safe drift

  4. 04 sarj-standards check

    run the complete quality gate or check selected paths

THE CATALOG

Browse by engine

This site is generated from rule metadata and executable test cases, including eslint:duplicate-test-body.