From fedcc3cb064a526f9ad7066b7e4673606843f0d3 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Wed, 22 Jun 2022 15:59:49 +0000 Subject: [PATCH] Enables eslint on the full repo and adds a rule for no `only()` tests (#3659) * enabling eslint on the all packages and tests * enabling for all packages * TEMP: adding an only() test to verify it fails CI * using our eslint config and ignore in CI * removing the temporary .only() test * update lock file * lint: fixing new test with a no-shadow warning * chore: update lock file --- packages/integrations/vercel/src/lib/fs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/vercel/src/lib/fs.ts b/packages/integrations/vercel/src/lib/fs.ts index e192ba5541..d7a833cd08 100644 --- a/packages/integrations/vercel/src/lib/fs.ts +++ b/packages/integrations/vercel/src/lib/fs.ts @@ -1,7 +1,7 @@ import type { PathLike } from 'node:fs'; import * as fs from 'node:fs/promises'; -export async function writeJson(path: PathLike, data: T) { +export async function writeJson(path: PathLike, data: T) { await fs.writeFile(path, JSON.stringify(data), { encoding: 'utf-8' }); }