Skip to content

Commit 8416aa8

Browse files
authored
chore: import node process explicitly (#11)
1 parent 60b107b commit 8416aa8

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"rules": {
1010
"no-console": "warn",
1111
"no-await-in-loop": "off",
12-
"unicorn/no-array-sort": "off"
12+
"unicorn/no-array-sort": "off",
13+
"no-restricted-globals": "error"
1314
},
1415
"ignorePatterns": [
1516
".output/**",

cli/src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
import process from 'node:process'
23
import { spawn } from 'node:child_process'
34
import { defineCommand, runMain } from 'citty'
45
import { listen } from 'listhen'

cli/src/npm-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { exec } from 'node:child_process'
23
import { promisify } from 'node:util'
34
import { logCommand, logSuccess, logError } from './logger.ts'

playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { fileURLToPath } from 'node:url'
23
import { defineConfig, devices } from '@playwright/test'
34
import type { ConfigOptions } from '@nuxt/test-utils/playwright'

0 commit comments

Comments
 (0)