chore(lint): enforce zero warnings and cleanup syntax restrictions (#22902)

This commit is contained in:
Alisa
2026-03-20 21:01:48 -07:00
committed by GitHub
parent b316fcc44d
commit 1a70fdd364
18 changed files with 21 additions and 27 deletions

View File

@@ -136,7 +136,9 @@ describe('Telemetry Sanitization', () => {
const attributes = event.toOpenTelemetryAttributes(config);
// Should be JSON stringified
// eslint-disable-next-line no-restricted-syntax
expect(typeof attributes['hook_input']).toBe('string');
// eslint-disable-next-line no-restricted-syntax
expect(typeof attributes['hook_output']).toBe('string');
const parsedInput = JSON.parse(attributes['hook_input'] as string);