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?
Refs: https://discord.com/channels/1475973262193459293/1483116602747650048
There are editors that do not use LSP. And these often utilize the CLI and its flags.
--stdin-filepath, etc.--reporter=json, etc.However, in the current Vite+ setup, the
oxlint|oxfmtwrapper binaries only expect--lsp.Just curious, I also tried using
vp fmt --stdin-filepathinstead.Since
VITE+ - The Unified Toolchain for the Webis always written to stdout, it is inserted at the beginning of all files. 🙈Anyway, what’s the best way to support them?