Skip to content

lint,fmt: Deprecate the wrapper bin for stable IDE support #1557

Description

@leaysgur

Currently, lint|fmt IDE support for Vite+ is implemented as follows:

  • When the vite-plus package is installed locally, the package manager places bin/oxlint|fmt
    • These are special binaries with vite.config.ts support enabled, distinct from the standard oxlint|fmt binaries
  • Individual editor extensions then reference these binaries and launch --lsp
    • The discovery process for these binaries should remain the same as in non-Vite+ projects

However, some issues have also come to light.

Proposed solution

Following our team meeting, we would like to proceed as follows.

  • Deprecate the wrapper binary
  • Editors that support LSP should use vp lint|fmt --lsp instead
  • Editors that do not use LSP should use commands like vp fmt --stdin-filepath

Tasks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

Priority

High

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions