SERVER-68594 Added better javascript code hinting

This commit is contained in:
Alexander Neben 2023-01-20 19:22:47 +00:00 committed by Evergreen Agent
parent 1863709add
commit 8e08ea0547
3 changed files with 17 additions and 8 deletions

3
.gitignore vendored
View File

@ -175,9 +175,6 @@ CMakeLists.txt
.vs/
/x64/
# VSCode JavaScript config files
**/jsconfig.json
# Windows MSI builder artifacts
*.msi
*.wixobj

View File

@ -19,7 +19,13 @@
"eslint.validate": [
"javascript"
],
"files.associations": {
"SConstruct": "python",
"SConscript": "python",
"*.idl": "yaml",
},
"files.insertFinalNewline": true,
"js/ts.implicitProjectConfig.target": "ES2020",
"python.autoComplete.extraPaths": [
"/opt/mongodbtoolchain/v4/share/gcc-11.3.0/python",
"src/third_party/scons-3.1.2/scons-local-3.1.2"
@ -46,11 +52,6 @@
"editor.defaultFormatter": "xaver.clang-format",
"editor.formatOnSave": true,
},
"files.associations": {
"SConstruct": "python",
"SConscript": "python",
"*.idl": "yaml",
},
},
"extensions": {
"recommendations": [

11
jsconfig.json Normal file
View File

@ -0,0 +1,11 @@
{
"compilerOptions": {
"baseUrl": ".",
"disableSizeLimit": true,
"target": "ES2020"
},
"exclude": [
"node_modules",
"src/third_party"
]
}