effect-oxlint is available on npm and JSR. Because it ships as TypeScript source with no compiledDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mpsuesser/effect-oxlint/llms.txt
Use this file to discover all available pages before exploring further.
dist/, the setup steps vary slightly depending on your runtime. This page covers every supported environment.
Install
effect is a peer dependency and must be installed at a matching version alongside effect-oxlint. The current supported version is effect@4.0.0-beta.57.TypeScript source distribution
effect-oxlint is distributed as TypeScript source — there is no compileddist/ directory. This keeps source maps, JSDoc, and type information perfectly aligned with the code you import, and it is how JSR prefers packages to ship.
The trade-off is that you need a TypeScript-aware runtime or bundler to consume the package. The exports field in package.json maps directly to .ts files:
package.json (effect-oxlint internals)
Runtime support
Bun
No additional configuration required. Bun handles TypeScript natively and resolves the.ts exports entry without any extra flags.
Deno (via JSR)
No additional configuration required. Install viadeno add jsr:@effect-oxlint/effect-oxlint and import as normal. Deno resolves TypeScript source from JSR automatically.
Node.js with a bundler
Works out of the box with any TypeScript-aware bundler: Vite, esbuild, webpack, Rollup, and tsup all resolve.ts entry points without additional configuration.
Node.js directly (without a bundler)
Run your code viatsx or ts-node, or compile your own project with tsc before running with node. You must also ensure your tsconfig.json is configured correctly:
tsconfig.json
"moduleResolution": "nodenext" also works. Either setting enables TypeScript to resolve the .ts exports entry in effect-oxlint’s package.json.
Subpath exports
effect-oxlint exposes two subpath exports:| Import path | Contents |
|---|---|
effect-oxlint | All public modules: Rule, Visitor, AST, Diagnostic, RuleContext, SourceCode, Scope, Plugin, Comment, Token, plus all re-exported @oxlint/plugins types |
effect-oxlint/testing | The Testing module: mock AST builders, runRule, expectDiagnostics, messages, expectNoDiagnostics |
main import
testing import
Type-only imports
effect-oxlint re-exports all@oxlint/plugins types, so you do not need a direct @oxlint/plugins dependency for type imports: