From 68106fc1247d4413939278e75db4f40cb1489a04 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 11:19:21 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- benchmarks/internal/bench.mjs | 1 - rollup.config.mjs | 1 - tests/utils.test.mjs | 1 - 3 files changed, 3 deletions(-) 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 -- 2.43.0