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:
@@ -10,8 +10,6 @@ export default defineConfig({
|
|||||||
exclude: ["integration/pty/**", "node_modules/**"],
|
exclude: ["integration/pty/**", "node_modules/**"],
|
||||||
},
|
},
|
||||||
lint: {
|
lint: {
|
||||||
options: { typeAware: true, typeCheck: true },
|
|
||||||
ignorePatterns: ["integration/pty/fixtures/**"],
|
ignorePatterns: ["integration/pty/fixtures/**"],
|
||||||
},
|
},
|
||||||
fmt: {},
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -8,8 +8,4 @@ export default defineConfig({
|
|||||||
dts: true,
|
dts: true,
|
||||||
exports: true,
|
exports: true,
|
||||||
},
|
},
|
||||||
lint: {
|
|
||||||
options: { typeAware: true, typeCheck: true },
|
|
||||||
},
|
|
||||||
fmt: {},
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -7,8 +7,4 @@ export default defineConfig({
|
|||||||
dts: true,
|
dts: true,
|
||||||
exports: true,
|
exports: true,
|
||||||
},
|
},
|
||||||
lint: {
|
|
||||||
options: { typeAware: true, typeCheck: true },
|
|
||||||
},
|
|
||||||
fmt: {},
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user