Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Aug 22, 2024
1 parent 73a3aae commit d24e93f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions bsconfig.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"type": "object",
"patternProperties": {
"^.+$": {
"type": ["boolean", "null"]
"type": [
"boolean",
"null"
]
}
}
}
Expand Down Expand Up @@ -161,8 +164,16 @@
"type": "object",
"patternProperties": {
".{1,}": {
"type": ["number", "string"],
"enum": ["error", "warn", "info", "hint"]
"type": [
"number",
"string"
],
"enum": [
"error",
"warn",
"info",
"hint"
]
}
}
},
Expand Down Expand Up @@ -268,6 +279,11 @@
"description": "Override the root directory path where debugger should locate the source files. The location will be embedded in the source map to help debuggers locate the original source files. This only applies to files found within rootDir. This is useful when you want to preprocess files before passing them to BrighterScript, and want a debugger to open the original files. This option also affects the `SOURCE_FILE_PATH` and `SOURCE_LOCATION` source literals.",
"type": "string"
},
"resolveSourceRoot": {
"description": "Should the `sourceRoot` property be resolve to an absolute path (relative to the bsconfig it's defined in)",
"type": "boolean",
"default": false
},
"diagnosticLevel": {
"description": "Specify what diagnostic levels are printed to the console. This has no effect on what diagnostics are reported in the LanguageServer. Defaults to 'warn'",
"type": "string",
Expand Down

0 comments on commit d24e93f

Please sign in to comment.