Describe the bug
When I run vp lint in my newly setup Qwik/Vite+ project, I get this error:
VITE+ - The Unified Toolchain for the Web
Failed to parse oxlint configuration file.
× Expected a `lint` field in the default export of C:/Users/USER/Projects/qwikplus/vite.config.ts
But vite.config.ts does contain the lint field. (see repro: https://github.com/Ionaru/qwikplus-vplint-error/blob/b58b3bb44e8ab79c7d8fed66e75df14bf7287993/vite.config.ts#L25)
Running pnpx oxlint works correctly.
Reproduction
https://github.com/Ionaru/qwikplus-vplint-error
Steps to reproduce
git clone https://github.com/Ionaru/qwikplus-vplint-error.git
cd qwikplus-vplint-error
pnpm install --frozen-lockfile
vp lint
OR
vp create qwik@beta -- playground qwikplus -i false
cd qwikplus
- Edit
tsconfig.json -> set "module" to "esnext"
- Edit
vite.config.ts -> add with { type: "json" } to import pkg from "./package.json"
vp lint
System Info
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.0
Source engines.node
Source Path C:\Users\USER\Projects\qwikplus\package.json
Project Root C:\Users\USER\Projects\qwikplus
Tool Paths:
node C:\Users\USER\.vite-plus\js_runtime\node\24.14.0\node.exe
npm C:\Users\USER\.vite-plus\js_runtime\node\24.14.0\npm.cmd
npx C:\Users\USER\.vite-plus\js_runtime\node\24.14.0\npx.cmd
VITE+ - The Unified Toolchain for the Web
vp v0.1.13
Local vite-plus:
vite-plus v0.1.13
Tools:
vite v8.0.1
rolldown v1.0.0-rc.10
vitest v4.1.0
oxfmt v0.41.0
oxlint v1.56.0
oxlint-tsgolint v0.17.1
tsdown v0.21.4
Environment:
Package manager pnpm v10.32.1
Node.js v24.14.0 (engines.node)
Used Package Manager
pnpm
Logs
No Vite+ commands support `--debug` it seems...
- vp lint --debug -> Error: no such flag: --debug, did you mean --deny?
- vp --debug lint -> error: Unexpected argument '--debug'
Validations
Describe the bug
When I run
vp lintin my newly setup Qwik/Vite+ project, I get this error:But
vite.config.tsdoes contain thelintfield. (see repro: https://github.com/Ionaru/qwikplus-vplint-error/blob/b58b3bb44e8ab79c7d8fed66e75df14bf7287993/vite.config.ts#L25)Running
pnpx oxlintworks correctly.Reproduction
https://github.com/Ionaru/qwikplus-vplint-error
Steps to reproduce
git clone https://github.com/Ionaru/qwikplus-vplint-error.gitcd qwikplus-vplint-errorpnpm install --frozen-lockfilevp lintOR
vp create qwik@beta -- playground qwikplus -i falsecd qwikplustsconfig.json-> set"module"to"esnext"vite.config.ts-> addwith { type: "json" }toimport pkg from "./package.json"vp lintSystem Info
Used Package Manager
pnpm
Logs
Validations