40d89bdf47
Set lint.options.typeCheck=false so vp lint/check no longer runs the tsgolint full type-check (typeAware stays on, keeping type-aware lint rules). Type-checking is now owned by check:type, which runs the real tsc and honors each tsconfig's project semantics — unlike tsgolint, which ignored tsconfig exclude/nested configs. Wire check:type into ready after build (it needs the built dist for cross-package type resolution): fmt, lint, build, check:type, check:fixtures, test. Verified: with typeCheck off, vp lint no longer reports a TS2322 type error (but keeps its type-aware warnings); check:type catches it via tsc.
13 lines
223 B
TypeScript
13 lines
223 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
staged: {
|
|
"*": "vp check --fix",
|
|
},
|
|
fmt: {},
|
|
lint: { options: { typeAware: true, typeCheck: false } },
|
|
run: {
|
|
cache: true,
|
|
},
|
|
});
|