From b399465bdf537acbc0dc5a7e7c7e2b902841e59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Carrasco?= Date: Sun, 15 Sep 2024 12:38:17 +0100 Subject: [PATCH] fix: update deno.unstable settings in VS Code settings.json template Update the "deno.unstable" settings in .vscode/settings.json to replace the deprecated boolean flag option. Refactor the settings to include the following flags: - bare-node-builtins - byonm - sloppy-imports - unsafe-proto - webgpu - broadcast-channel - worker-options - cron - kv - ffi - fs - http - net --- internal/init/templates/.vscode/settings.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/internal/init/templates/.vscode/settings.json b/internal/init/templates/.vscode/settings.json index 5d0c9ed1ce..af62c23f88 100644 --- a/internal/init/templates/.vscode/settings.json +++ b/internal/init/templates/.vscode/settings.json @@ -3,7 +3,21 @@ "supabase/functions" ], "deno.lint": true, - "deno.unstable": true, + "deno.unstable": [ + "bare-node-builtins", + "byonm", + "sloppy-imports", + "unsafe-proto", + "webgpu", + "broadcast-channel", + "worker-options", + "cron", + "kv", + "ffi", + "fs", + "http", + "net" + ], "[typescript]": { "editor.defaultFormatter": "denoland.vscode-deno" }