Skip to content

Commit 3941fd0

Browse files
committed
ci: Warn (not error) on no-deprecated in vendored instrumentations
Vendored OTel instrumentations intentionally emit the old db.*/net.* semantic conventions, whose local semconv constants carry the upstream @deprecated JSDoc. The type-aware no-deprecated rule flagged every usage as an error and failed the repo-wide lint. Downgrade it to a warning for the vendored tracing paths so the intentional usage is surfaced without breaking CI.
1 parent 2449c48 commit 3941fd0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.oxlintrc.base.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@
159159
"rules": {
160160
"typescript/no-explicit-any": "off",
161161
"no-unsafe-member-access": "off",
162-
"no-this-alias": "off"
162+
"no-this-alias": "off",
163+
"typescript/no-deprecated": "warn"
163164
}
164165
},
165166
{

0 commit comments

Comments
 (0)