Linter
How it works
Section titled “How it works”The project uses Oxlint for linting and Oxfmt for formatting. Configuration lives at the repository root in .oxlintrc.json and .oxfmtrc.json.
Oxlint and Oxfmt replace ESLint and Prettier. This repository has no ESLint flat config and no Prettier config.
How to use
Section titled “How to use”pnpm lint— run Oxlintpnpm lint:fix— apply Oxlint autofixespnpm fmt— format with Oxfmtpnpm fmt:check— check formatting without writing
CI runs pnpm lint. Formatting is checked with pnpm fmt:check in local/release flows.
How to customize rules
Section titled “How to customize rules”Rules are centralized in .oxlintrc.json. Use overrides to change rules for specific files or directories.
For example, the API workspace turns off typescript/consistent-type-imports:
{ "overrides": [ { "files": ["apps/api/**/*.ts", "apps/api/**/*.json"], "rules": { "typescript/consistent-type-imports": "off" } } ]}See the Oxlint config file reference for rule names and override syntax.