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:
Peter Steinberger
2026-09-26 19:01:11 -07:00
parent 40a14550a2
commit e6fae68631
+3
View File
@@ -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",