Skip to content

Commit a67e46b

Browse files
andreiborzaclaude
andcommitted
fix(node): Restore eslint-disable in vendored tedious instrumentation
The "Streamline tedious instrumentation" refactor (#21598) dropped the `/* eslint-disable */` directive from the vendored instrumentation file while keeping its imports of the deprecated semconv constants (`ATTR_DB_SYSTEM`, `ATTR_DB_NAME`, etc.). Without the directive, the `typescript-eslint(no-deprecated)` rule fires on every usage, breaking the Lint CI job. Restore the directive after the header block, matching the documented vendoring convention and every other vendored instrumentation file (mysql, knex, postgres, hapi, mongo). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7a89e6c commit a67e46b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/node/src/integrations/tracing/tedious/vendored/instrumentation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* - Minor TypeScript strictness adjustments
2020
* - Span creation migrated to the @sentry/core API; origin folded into span creation
2121
*/
22+
/* eslint-disable */
2223

2324
import * as api from '@opentelemetry/api';
2425
import { EventEmitter } from 'events';

0 commit comments

Comments
 (0)