refactor(config): drop per-package lint/fmt blocks redundant with root

The root vite.config.ts lint/fmt settings cascade into every workspace
package, and a package-level lint block merges with — rather than replaces —
the root options. So the `lint.options { typeAware, typeCheck }` and the empty
`fmt: {}` repeated in runtime, testing, and runtime-tests only restated what
each package already inherits.

Remove them. runtime-tests keeps just its `ignorePatterns` (the one genuine
per-package override); typeAware/typeCheck now come from root via the merge.
Verified with `vp check`: no lint or typecheck regression, and the PTY
fixtures stay excluded from lint.
This commit is contained in:
Yunfei He
2026-05-28 23:47:14 +08:00
parent 3ef28ca3a1
commit fb1f6d33d4
3 changed files with 0 additions and 10 deletions
-2
View File
@@ -10,8 +10,6 @@ export default defineConfig({
exclude: ["integration/pty/**", "node_modules/**"],
},
lint: {
options: { typeAware: true, typeCheck: true },
ignorePatterns: ["integration/pty/fixtures/**"],
},
fmt: {},
});