mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Update jsconfig
This commit is contained in:
@@ -9,42 +9,132 @@
|
||||
"properties": {
|
||||
"compilerOptions": {
|
||||
"type": "object",
|
||||
"description": "Instructs the JavaScript language service how to validate .js files",
|
||||
"description": "Instructs the JavaScript language service how to validate and down level compile .js files",
|
||||
"properties": {
|
||||
"charset": {
|
||||
"description": "The character set of the input files",
|
||||
"type": "string"
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Show diagnostic information.",
|
||||
"description": "When down-level compiling, show diagnostic information.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"locale": {
|
||||
"description": "The locale to use to show error messages, e.g. en-us.",
|
||||
"emitBOM": {
|
||||
"description": "When down-level compiling, emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"inlineSourceMap": {
|
||||
"description": "When down-level compiling, emit a single file with source maps instead of having a separate file.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"inlineSources": {
|
||||
"description": "When down-level compiling, emit the source alongside the sourcemaps within a single file; requires --inlineSourceMap to be set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"jsx": {
|
||||
"description": "When down-level compiling, specify JSX code generation: 'preserve' or 'react'.",
|
||||
"enum": [
|
||||
"preserve",
|
||||
"react"
|
||||
]
|
||||
},
|
||||
"reactNamespace": {
|
||||
"description": "When down-level compiling, specifies the object invoked for createElement and __spread when targeting 'react' JSX emit.",
|
||||
"type": "string"
|
||||
},
|
||||
"listFiles": {
|
||||
"description": "When down-level compiling, print names of files part of the compilation.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"mapRoot": {
|
||||
"description": "Specifies the location where debugger should locate map files instead of generated locations",
|
||||
"description": "When down-level compiling, specifies the location where debugger should locate map files instead of generated locations",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"module": {
|
||||
"description": "Specify used module type: 'commonjs', 'system', 'umd', 'es6', or 'es2015'. Note: 'amd' is currently not supported.",
|
||||
"description": "When down-level compiling, specify module code generation: 'commonjs', 'system', 'umd', 'amd', 'es6', or 'es2015'.",
|
||||
"enum": [
|
||||
"commonjs",
|
||||
"umd",
|
||||
"amd",
|
||||
"system",
|
||||
"es6",
|
||||
"es2015"
|
||||
]
|
||||
},
|
||||
|
||||
"newLine": {
|
||||
"description": "When down-level compiling, specifies the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).",
|
||||
"enum": [
|
||||
"CRLF",
|
||||
"LF"
|
||||
]
|
||||
},
|
||||
"noEmit": {
|
||||
"description": "When down-level compiling, do not emit output.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noEmitHelpers": {
|
||||
"description": "When down-level compiling, do not generate custom helper functions like __extends in compiled output.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noEmitOnError": {
|
||||
"description": "When down-level compiling, do not emit outputs if any type checking errors were reported.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noLib": {
|
||||
"description": "Do not include the default library file (lib.d.ts).",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noResolve": {
|
||||
"description": "When down-level compiling, do not add triple-slash references or module import targets to the input files.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"skipDefaultLibCheck": {
|
||||
"description": "When down-level compiling, do not check for the default library (lib.d.ts).",
|
||||
"type": "boolean"
|
||||
},
|
||||
"outFile": {
|
||||
"description": "When down-level compiling, concatenate and emit output to single file.",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"outDir": {
|
||||
"description": "When down-level compiling, redirect output structure to the directory.",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"pretty": {
|
||||
"description": "When down-level compiling, stylize errors and messages using color and context. (experimental)",
|
||||
"type": "boolean"
|
||||
},
|
||||
"removeComments": {
|
||||
"description": "When down-level compiling, do not emit comments to output.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"rootDir": {
|
||||
"description": "When down-level compiling, specifies the root directory of input files. Use to control the output directory structure with --outDir.",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"isolatedModules": {
|
||||
"description": "When down-level compiling, unconditionally emit imports for unresolved files.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"sourceMap": {
|
||||
"description": "When down-level compiling, generates corresponding '.map' file.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"sourceRoot": {
|
||||
"description": "When down-level compiling, specifies the location where debugger should locate JavaScript files instead of source locations.",
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"stripInternal": {
|
||||
"description": "When down-level compiling, do not emit declarations for code that has an '@internal' annotation.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"target": {
|
||||
"description": "Specify ECMAScript target version.",
|
||||
"description": "Specifies the default libarary used and, when down-level compiling, what code is generated.",
|
||||
"enum": [
|
||||
"ES3",
|
||||
"ES5",
|
||||
@@ -56,9 +146,41 @@
|
||||
],
|
||||
"default": "ES6"
|
||||
},
|
||||
"experimentalDecorators": {
|
||||
"description": "Enables experimental support for ES7 decorators.",
|
||||
"watch": {
|
||||
"description": "When down-level compiling, watch input files.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"experimentalDecorators": {
|
||||
"description": "Enables experimental support for proposed ES decorators.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"emitDecoratorMetadata": {
|
||||
"description": "When down-level compiling, emit design-type metadata for decorated declarations in source.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowUnusedLabels": {
|
||||
"type": "boolean",
|
||||
"description": "Do not report errors on unused labels."
|
||||
},
|
||||
"noFallthroughCasesInSwitch": {
|
||||
"type": "boolean",
|
||||
"description": "Report errors for fallthrough cases in switch statement."
|
||||
},
|
||||
"allowUnreachableCode": {
|
||||
"type": "boolean",
|
||||
"description": "Do not report errors on unreachable code."
|
||||
},
|
||||
"forceConsistentCasingInFileNames": {
|
||||
"type": "boolean",
|
||||
"description": "Disallow inconsistently-cased references to the same file."
|
||||
},
|
||||
"allowSyntheticDefaultImports": {
|
||||
"type": "boolean",
|
||||
"description": "Allow default imports from modules with no default export. This does not affect code emit, just typechecking."
|
||||
},
|
||||
"noImplicitUseStrict": {
|
||||
"type": "boolean",
|
||||
"description": "When down-level compiling, do not emit \"use strict\" directives in module output."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user