Opinionated Oxlint and Oxfmt configuration toolchain for TypeScript projects.
This monorepo contains two packages:
| Package | Description |
|---|---|
@ashtrath/oxc-config |
Oxlint and Oxfmt configuration factories, 20+ presets, and interactive setup CLI |
@ashtrath/oxlint-plugin-slop |
Oxlint AST heuristic rules flagging low-signal code patterns and prose tells |
See each package directory for detailed guides, presets, and rule documentation.
Initialize oxlint.config.ts, oxfmt.config.ts, and editor settings in any repository:
# Bun
bunx @ashtrath/oxc-config
# pnpm
pnpm dlx @ashtrath/oxc-config
# npm
npx @ashtrath/oxc-configThis repository runs on Bun with Turborepo:
# Install dependencies
bun install
# Run checks across all workspaces
bun run lint
bun run fmt
bun run test
bun run typecheck
# Build packages
bun run build- Factory pattern and composable preset architecture inspired by Anthony Fu's @antfu/eslint-config.
- Anti-slop heuristic rules inspired by and referenced from Anthony Fu's @antfu/eslint-plugin-slop and Dillon Mulroy's @dmmulroy/anti-slop.