mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-28 14:12:28 +08:00
test: allow intentional plugin ownership suppressions
Register the intentional suppressions added by #159103 (plugin ownership garbage-collection repair): - src/plugins/plugin-instance-owned-values.ts|eslint/no-constructor-return|1 - src/plugins/plugin-instance-owned-values.ts|typescript/no-extraneous-class|1 - src/plugins/plugin-return-value.ts|typescript/unbound-method|1 The production comments explain private-field stamping and preserving the original then receiver. Update only the explicit allowlist to repair the 80-versus-77 CI mismatch. Validation: node scripts/run-vitest.mjs run test/scripts/lint-suppressions.test.ts --maxWorkers=1 (1 file, 3 tests passed).
This commit is contained in:
@@ -251,7 +251,10 @@ describe("production lint suppressions", () => {
|
||||
"src/plugins/host-hooks.ts|typescript/no-unnecessary-type-parameters|1",
|
||||
"src/plugins/lazy-service-module.ts|typescript/no-unnecessary-type-parameters|1",
|
||||
"src/plugins/loader-load-context.ts|unicorn/no-array-sort|1",
|
||||
"src/plugins/plugin-instance-owned-values.ts|eslint/no-constructor-return|1",
|
||||
"src/plugins/plugin-instance-owned-values.ts|typescript/no-extraneous-class|1",
|
||||
"src/plugins/plugin-return-value.ts|typescript/prefer-promise-reject-errors|1",
|
||||
"src/plugins/plugin-return-value.ts|typescript/unbound-method|1",
|
||||
"src/plugins/plugin-return-value.ts|unicorn/no-thenable|1",
|
||||
"src/plugins/provider-auth-persistence.ts|preserve-caught-error|2",
|
||||
"src/plugins/public-surface-loader.ts|typescript/no-unnecessary-type-parameters|3",
|
||||
|
||||
Reference in New Issue
Block a user