An opinionated TypeScript linting CLI built on top of Biome. It comes with
Zod for option validation, Commander for argument parsing, and a zero‑config
experience that auto‑detects a biome.json file or falls back to a minimal
configuration.
- check – Run Biome in read‑only mode.
- fix – Apply Biome fixes.
- format – Reformat files.
- init – Generate a minimal
biome.jsonif one does not exist. - watch – Watch mode with live feedback.
- ci – CI-optimized output with structured formats.
- rulesets – List available rulesets.
# Locally in a project
bun add -D @frontal/ts-linter
# Or globally
bun add -g @frontal/ts-linter# Initialize configuration
ts-linter init --ruleset strict-typing
# Check for lint issues
ts-linter check
# Auto-fix issues
ts-linter fix
# Reformat code
ts-linter format
# List available rulesets
ts-linter rulesetsThis project uses Changesets for version management and publishes to GitHub Packages.
Ensure you have a GITHUB_TOKEN with packages:write permission.
- Run
bun run changesetto create a new version entry. - Commit the changeset file.
- The GitHub Action will automatically create a version PR or publish on merge to
main.
If you need to publish manually:
# Authenticate with GH CLI
gh auth login --scopes write:packages
# Publish
bun run releaseMIT