Skip to content

Commit

Permalink
refactor: Prefer Number.parseInt over parseInt (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix authored Nov 2, 2024
1 parent 1d9ba68 commit f4251ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build-from-oxlint-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit f4251ef

Please sign in to comment.