Skip to content

Commit a1d2bc2

Browse files
committed
fix: linting errors
1 parent 17ea58e commit a1d2bc2

File tree

12 files changed

+13
-4
lines changed

12 files changed

+13
-4
lines changed

deno/locale.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export type ParseScriptSubtag<
258258
> = Result
259259

260260
/**
261-
* parser unicode script subtag (EBNF: = alpha{4};)
261+
* parse unicode script subtag (EBNF: = alpha{4};)
262262
* https://unicode.org/reports/tr35/#unicode_script_subtag
263263
*/
264264
// TODO: Check if the script subtag is in CLDR

playground/browser/browser.test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import test from 'node:test'
33
import { createServer } from 'node:http'
44
import playwright from 'playwright'
55
import handler from 'serve-handler'
6+
import process from 'node:process'
67

78
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
89

playground/browser/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

playground/node/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createServer } from 'node:http'
22
import { getHeaderLanguages } from '@intlify/utils/node'
3+
import process from 'node:process'
34

45
const server = createServer((req, res) => {
56
const languages = getHeaderLanguages(req)

playground/node/node.test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import assert from 'node:assert'
22
import test from 'node:test'
33
import { spawn } from 'node:child_process'
44
import { fetch } from 'ofetch'
5+
import process from 'node:process'
56

67
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
78

scripts/bump-deno.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import semver from 'semver'
55
import { readPackageJSON } from 'pkg-types'
66

77
import type { ParseError } from 'jsonc-parser'
8+
import process from 'node:process'
89

910
async function main() {
1011
const npmPath = resolve(process.cwd(), 'package.json')

scripts/bump-edge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { execSync } from 'node:child_process'
22
import { promises as fs } from 'node:fs'
33
import { resolve } from 'node:path'
4+
import process from 'node:process'
45

56
async function main() {
67
const commit = execSync('git rev-parse --short HEAD').toString('utf-8').trim()

scripts/deno.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { resolve } from 'node:path'
33
import { fileURLToPath } from 'node:url'
44
import { isExists } from './utils.ts'
55
import { readPackageJSON } from 'pkg-types'
6+
import process from 'node:process'
67

78
const __dirname = fileURLToPath(new URL('.', import.meta.url))
89

scripts/playwright-version.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { resolve } from 'node:path'
22
import { fileURLToPath } from 'node:url'
33
import { readPackageJSON } from 'pkg-types'
44
import { isExists } from './utils.ts'
5+
import process from 'node:process'
56

67
const __dirname = fileURLToPath(new URL('.', import.meta.url))
78

scripts/replaceDeps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { resolve } from 'node:path'
33
import { fileURLToPath } from 'node:url'
44
import { readPackageJSON, writePackageJSON } from 'pkg-types'
55
import { isExists } from './utils.ts'
6+
import process from 'node:process'
67

78
const __dirname = fileURLToPath(new URL('.', import.meta.url))
89

0 commit comments

Comments
 (0)