From baa7b5e5ef40f26cd71913ab5d21a7000a3481e3 Mon Sep 17 00:00:00 2001 From: Siim Kallas Date: Mon, 18 Sep 2023 23:36:21 +0300 Subject: [PATCH] chore: fix linting --- .eslintignore | 1 + examples/typescript/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index ae01ad91..a97a0513 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ lib src/profiling/proto +examples/typescript diff --git a/examples/typescript/index.ts b/examples/typescript/index.ts index 28a5d970..897b2c2a 100644 --- a/examples/typescript/index.ts +++ b/examples/typescript/index.ts @@ -6,7 +6,7 @@ start({ // Set up the OpenTelemetry metrics pipeline and start collecting runtime metrics. metrics: { runtimeMetricsEnabled: true, - } + }, }); // Load libraries after calling start() @@ -18,7 +18,7 @@ const requestCounter = meter.createCounter('requests'); const app = express(); -app.get("/", (req, res) => { +app.get('/', (req, res) => { requestCounter.add(1); const randomValue = tracer.startActiveSpan('calculate-random', (span) => { const result = (Math.random() * 42) | 0;