| Name | Last commit date | |
|---|---|---|
| .. | ||
| rules | 7 months ago | |
| plugin.mjs | 7 months ago | |
| README.md | 7 months ago | |
| workspace-utils.mjs | 7 months ago | |
Oxlint Custom Rules
This directory contains repo-local Oxlint JS plugin rules for the workspace.
Why it lives here:
- The root
.oxlintrc.jsoncruns Oxlint once across the whole monorepo. - Custom rules here apply to every workspace under
apps/*andpackages/*/*. - The setup uses JSONC config on purpose so it works consistently in this Bun repo without relying on Oxlint's experimental TypeScript config loader.
Current rules:
executor-monorepo/no-async-effect-vitest-testsexecutor-monorepo/no-cross-workspace-relative-importsexecutor-monorepo/no-direct-effect-tag-readexecutor-monorepo/no-effect-run-in-effect-vitest-testsexecutor-monorepo/no-manual-httpapi-openapi-bridgeexecutor-monorepo/no-manual-openapi-documentsexecutor-monorepo/no-node-fs-with-effect-importsexecutor-monorepo/no-raw-effect-fail-errorsexecutor-monorepo/no-yield-effect-failexecutor-monorepo/no-workspace-src-imports
To add another rule:
- Create
tools/oxlint/rules/<rule-name>.mjs. - Export it from
tools/oxlint/plugin.mjs. - Enable it in
.oxlintrc.jsonc.