Skip to content

Commit 6a10614

Browse files
committed
fix lints
1 parent ac941cf commit 6a10614

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/instrumentation-long-task/src/instrumentation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
17+
// PerformanceLongTaskTiming is experimental and may change in future versions.
18+
// https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming
19+
/* eslint-disable baseline-js/use-baseline */
20+
1621
import { hrTime } from '@opentelemetry/core';
1722
import { diag } from '@opentelemetry/api';
1823
import { InstrumentationBase } from '@opentelemetry/instrumentation';

packages/instrumentation-long-task/test/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import * as tracing from '@opentelemetry/sdk-trace-base';
1717

1818
export class DummySpanExporter implements tracing.SpanExporter {
19-
export(spans: tracing.ReadableSpan[]) {}
19+
export(_spans: tracing.ReadableSpan[]) {}
2020

2121
shutdown() {
2222
return Promise.resolve();

0 commit comments

Comments
 (0)