Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/docs/guide/usage/linter/js-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,7 @@ Rust-JS interop comes into play.

## API support

Oxlint supports most of the APIs typically used in plugins/rules which rely on AST inspection.
That includes most "fix code"-type rules.

It does not yet support token-based APIs, so stylistic (formatting) rules will not work yet.

Supported:
Oxlint supports most of ESLint's API surface:

- AST traversal.
- AST exploration (`node.parent`, `context.sourceCode.getAncestors`).
Expand All @@ -354,13 +349,13 @@ Supported:
- `SourceCode` APIs (e.g. `context.sourceCode.getText(node)`).
- `SourceCode` tokens APIs (e.g. `context.sourceCode.getTokens(node)`).
- Scope analysis.
- Plugins written in TypeScript (with NodeJS 22.18.0+).

Not supported yet:

- Language server (IDE) support.
- Suggestions.
- Control flow analysis.
- Custom file formats (e.g. Svelte, Vue, Angular).

We will be filling in the gaps in API support over the next few months, aiming to eventually support 100% of ESLint's
We will be filling in the remaining gaps in API over the next few months, aiming to eventually support 100% of ESLint's
plugin API surface.