Skip to content

Oxlint JS Plugins Milestone 3 #19918

@overlookmotel

Description

@overlookmotel

Milestone 2 (#14826) is now complete.

  • Pretty much the whole of ESLint's plugin API surface is supported by Oxlint.
  • Conformance tests show very high pass rate (99.5%+ on popular plugins).

Next milestone has multiple areas of focus:

  1. Support framework plugins (Vue, Svelte etc)
  2. Fill in small gaps in API
  3. Fix out-of-memory errors on Windows
  4. Improve performance
  5. Fix TS types
  6. Fix small bugs/oddities

Framework plugins

We should now support linting JS/TS sections of multi-part files, but there are no tests. We need to add some.

Supporting custom template syntax (Vue, Svelte etc) is more difficult. First step is to research and scope out what's required.

  • Add tests for linting JS/TS sections of multi-part files
  • Support custom template syntax

API gaps

Fix Windows OOM

We have problems with memory exhaustion on Windows in some cases due to the large allocations required by raw transfer. We have mitigated it, but not managed to completely remove the problem.

See #19395 and #19480.

Fixing this will require overhauling our arena allocator.

Performance

TS types

We should improve our TS type defs, so they work for plugins written in TS. They are mostly correct, but some oddities remain.

Small bugs/oddities

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions