summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-09-18 20:49:16 +0200
committerGitHub <noreply@github.com>2024-09-18 20:49:16 +0200
commitf347e779e0d1321d19a61de67295e7bd5edc3083 (patch)
treedb911ff815a7a92e2a61c25e1488ba2565721518 /cli/schemas
parentec86089c4e95eabbf9edc48491031eb6711a410f (diff)
fix: error on unsupported compiler options (#25714)
Update the config schema to error when adding unsupported `compilerOptions`. Fixes https://github.com/denoland/deno/issues/25696
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 96b7c4bed..adbddafd6 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -9,6 +9,7 @@
"compilerOptions": {
"type": "object",
"description": "Instructs the TypeScript compiler how to compile .ts files.",
+ "additionalProperties": false,
"properties": {
"allowJs": {
"description": "Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files.",