From 606c5d3ad80117f7ac772e375865d70c8206c807 Mon Sep 17 00:00:00 2001 From: Sysix Date: Sat, 2 Nov 2024 21:30:38 +0100 Subject: [PATCH] refactor: Prefer `Number.parseInt` over `parseInt` --- src/build-from-oxlint-config.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build-from-oxlint-config.spec.ts b/src/build-from-oxlint-config.spec.ts index 6e02db4..459f6a9 100644 --- a/src/build-from-oxlint-config.spec.ts +++ b/src/build-from-oxlint-config.spec.ts @@ -227,7 +227,7 @@ const executeOxlintWithConfiguration = ( return undefined; } - return parseInt(result[1], 10) ?? undefined; + return Number.parseInt(result[1], 10) ?? undefined; }; describe('integration test with oxlint', () => {