add deno extension and config

This commit is contained in:
IanKulin
2025-09-25 21:17:35 +08:00
parent 0cc04162ee
commit 6628ad1e81
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
{ {
"cSpell.words": ["colour", "colours", "iankulin", "sdifj", "stringifying"] "cSpell.words": ["colour", "colours", "iankulin", "sdifj", "stringifying"],
"deno.enable": true,
"deno.lint": true,
"deno.unstable": [],
"typescript.preferences.includePackageJsonAutoImports": "off"
} }

View File

@@ -8,5 +8,9 @@
"test": "deno test --allow-env --allow-sys", "test": "deno test --allow-env --allow-sys",
"lint": "deno lint", "lint": "deno lint",
"check": "deno check lib/logger.ts" "check": "deno check lib/logger.ts"
},
"compilerOptions": {
"lib": ["deno.ns", "deno.window"],
"strict": true
} }
} }