From: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:19:21 +0000 (+0000) Subject: [autofix.ci] apply automated fixes X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;p=poolifier.git [autofix.ci] apply automated fixes --- diff --git a/benchmarks/internal/bench.mjs b/benchmarks/internal/bench.mjs index 0e9a4250d..e24240c6e 100644 --- a/benchmarks/internal/bench.mjs +++ b/benchmarks/internal/bench.mjs @@ -1,6 +1,5 @@ import { writeFileSync } from 'node:fs' import { env } from 'node:process' -// eslint-disable-next-line n/no-unsupported-features/node-builtins import { parseArgs } from 'node:util' import { bmf } from 'tatami-ng' diff --git a/rollup.config.mjs b/rollup.config.mjs index facbff998..3676db4fd 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -11,7 +11,6 @@ import { dts } from 'rollup-plugin-dts' const availableParallelism = () => { let availableParallelism = 1 try { - // eslint-disable-next-line n/no-unsupported-features/node-builtins availableParallelism = os.availableParallelism() } catch { const cpus = os.cpus() diff --git a/tests/utils.test.mjs b/tests/utils.test.mjs index 53360e85a..92bbcbc78 100644 --- a/tests/utils.test.mjs +++ b/tests/utils.test.mjs @@ -36,7 +36,6 @@ describe('Utils test suite', () => { expect(Number.isSafeInteger(parallelism)).toBe(true) let expectedParallelism = 1 try { - // eslint-disable-next-line n/no-unsupported-features/node-builtins expectedParallelism = os.availableParallelism() } catch { expectedParallelism = os.cpus().length