File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
src/docs/guide/usage/linter Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -339,12 +339,7 @@ Rust-JS interop comes into play.
339339
340340## API support
341341
342- Oxlint supports most of the APIs typically used in plugins/rules which rely on AST inspection.
343- That includes most "fix code"-type rules.
344-
345- It does not yet support token-based APIs, so stylistic (formatting) rules will not work yet.
346-
347- Supported:
342+ Oxlint supports most of ESLint's API surface:
348343
349344- AST traversal.
350345- AST exploration (` node.parent ` , ` context.sourceCode.getAncestors ` ).
@@ -354,13 +349,13 @@ Supported:
354349- ` SourceCode ` APIs (e.g. ` context.sourceCode.getText(node) ` ).
355350- ` SourceCode ` tokens APIs (e.g. ` context.sourceCode.getTokens(node) ` ).
356351- Scope analysis.
357- - Plugins written in TypeScript (with NodeJS 22.18.0+).
358352
359353Not supported yet:
360354
361355- Language server (IDE) support.
362356- Suggestions.
363357- Control flow analysis.
358+ - Globals.
359+ - Custom file formats (e.g. Svelte, Vue, Angular).
364360
365- We will be filling in the gaps in API support over the next few months, aiming to eventually support 100% of ESLint's
366- plugin API surface.
361+ We will be filling in the remaining gaps in API support over the next few months, aiming to eventually support 100% of ESLint's plugin API surface.
You can’t perform that action at this time.
0 commit comments