Skip to content

lint/fmt: Non LSP aware editor support? #979

@leaysgur

Description

@leaysgur

Refs: https://discord.com/channels/1475973262193459293/1483116602747650048

There are editors that do not use LSP. And these often utilize the CLI and its flags.

  • In the case of oxfmt, --stdin-filepath, etc.
  • In the case of oxlint, --reporter=json, etc.

However, in the current Vite+ setup, the oxlint|oxfmt wrapper binaries only expect --lsp.

Just curious, I also tried using vp fmt --stdin-filepath instead.

Since VITE+ - The Unified Toolchain for the Web is always written to stdout, it is inserted at the beginning of all files. 🙈

Anyway, what’s the best way to support them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions