From 534bfbac939ac1ff4d520598d2e0e2960ce1cd1a Mon Sep 17 00:00:00 2001 From: hasundue Date: Fri, 19 Apr 2024 11:00:08 +0900 Subject: [PATCH] fix(cli): use `--no-config` for preset tasks This ensures the default bahavior of each preset tasks (fmt, lint, test) --- cli/modules/tasks.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/modules/tasks.ts b/cli/modules/tasks.ts index 607edcb5..c24fa23b 100644 --- a/cli/modules/tasks.ts +++ b/cli/modules/tasks.ts @@ -10,9 +10,9 @@ export type TaskRecord = Record; export async function getTasks() { const tasks: TaskRecord = { - fmt: ["fmt"], - lint: ["lint"], - test: ["test"], + fmt: ["fmt", "--no-config"], + lint: ["lint", "--no-config"], + test: ["test", "--no-config"], }; const config = await findFileUp(Deno.cwd(), "deno.json", "deno.jsonc"); if (!config) {