Skip to content

CLI

Usage

bash
npx rintenki "src/**/*.html"
npx rintenki --fix "src/**/*.html"
npx rintenki --format json "src/**/*.html"
npx rintenki --watch "src/**/*.html"

Options

rintenki [options] <files...>

  -c, --config <path>       Path to config file (default: .rintenkirc.json)
  -f, --format <format>     Output format: stylish (default), json, sarif
  --fix                     Auto-fix fixable rules
  -w, --watch               Watch files for changes and re-lint
  --max-warnings <number>   Exit with error if warnings exceed this number
  -h, --help                Show help

Output Formats

Stylish (default)

Human-readable output with colors, suitable for terminal use.

JSON

bash
npx rintenki --format json "src/**/*.html"

Machine-readable JSON output, useful for CI integration and custom tooling.

SARIF

bash
npx rintenki --format sarif "src/**/*.html"

SARIF (Static Analysis Results Interchange Format) output for integration with GitHub Code Scanning and other analysis tools.

Released under the MIT License.