mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
chore: enable no-misused-spread
This commit is contained in:
@@ -63,7 +63,6 @@
|
||||
"typescript/no-base-to-string": "off",
|
||||
"typescript/no-explicit-any": "off",
|
||||
"typescript/no-floating-promises": "off",
|
||||
"typescript/no-misused-spread": "off",
|
||||
"typescript/no-redundant-type-constituents": "off",
|
||||
"typescript/no-unnecessary-template-expression": "off",
|
||||
"typescript/unbound-method": "off",
|
||||
|
||||
@@ -80,10 +80,9 @@ describe("bundled plugin public surface loader", () => {
|
||||
);
|
||||
vi.doMock("node:module", async () => {
|
||||
const actual = await vi.importActual<typeof import("node:module")>("node:module");
|
||||
return {
|
||||
...actual,
|
||||
return Object.assign({}, actual, {
|
||||
createRequire: vi.fn(() => requireLoader),
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
const publicSurfaceLoader = await importFreshModule<
|
||||
|
||||
Reference in New Issue
Block a user