From f5bad77a6327d51ff99b12b3eed3cc66dc5b60e0 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Tue, 19 Nov 2024 08:49:21 +0900 Subject: [PATCH] chore: lint `build` and `perf-measures` (#3686) --- build/remove-private-fields.test.ts | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/remove-private-fields.test.ts b/build/remove-private-fields.test.ts index b2ec3d729..ecbb2d638 100644 --- a/build/remove-private-fields.test.ts +++ b/build/remove-private-fields.test.ts @@ -1,9 +1,9 @@ /// -import { removePrivateFields } from './remove-private-fields' import fs from 'node:fs/promises' -import path from 'node:path' import os from 'node:os' +import path from 'node:path' +import { removePrivateFields } from './remove-private-fields' describe('removePrivateFields', () => { it('Works', async () => { diff --git a/package.json b/package.json index 553d5e2a6..801883f8c 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "test:lambda": "vitest --run --config ./runtime-tests/lambda/vitest.config.ts", "test:lambda-edge": "vitest --run --config ./runtime-tests/lambda-edge/vitest.config.ts", "test:all": "bun run test && bun test:deno && bun test:bun && bun test:fastly && bun test:node && bun test:workerd && bun test:lambda && bun test:lambda-edge", - "lint": "eslint src runtime-tests", - "lint:fix": "eslint src runtime-tests --fix", + "lint": "eslint src runtime-tests build perf-measures", + "lint:fix": "eslint src runtime-tests build perf-measures --fix", "format": "prettier --check --cache \"src/**/*.{js,ts,tsx}\" \"runtime-tests/**/*.{js,ts,tsx}\" \"build/**/*.{js,ts,tsx}\" \"perf-measures/**/*.{js,ts,tsx}\"", "format:fix": "prettier --write --cache --cache-strategy metadata \"src/**/*.{js,ts,tsx}\" \"runtime-tests/**/*.{js,ts,tsx}\" \"build/**/*.{js,ts,tsx}\" \"perf-measures/**/*.{js,ts,tsx}\"", "copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json && cp ./package.cjs.json ./dist/types/package.json",