mirror of https://github.com/mongodb/mongo
SERVER-68594 Added vscode defaults to v6.0
This commit is contained in:
parent
5d649f37a0
commit
053c745ed3
|
|
@ -60,7 +60,6 @@ venv
|
|||
/src/third_party/*/*.lastbuildstate
|
||||
/buildscripts/libdeps/graph_visualizer_web_stack/build
|
||||
/buildscripts/libdeps/graph_visualizer_web_stack/node_modules
|
||||
package-lock.json
|
||||
libdeps.graphml
|
||||
config.log
|
||||
settings.py
|
||||
|
|
@ -234,3 +233,7 @@ default.profraw
|
|||
|
||||
# generated by gen_all_feature_flag_list.py
|
||||
all_feature_flags.txt
|
||||
|
||||
# node extra stuff (for someone installing eslint)
|
||||
node_modules/
|
||||
package-lock.json
|
||||
|
|
|
|||
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": ".."
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"clangd.arguments": [
|
||||
"--query-driver=/opt/mongodbtoolchain/v3/bin/clang++",
|
||||
"--header-insertion=never",
|
||||
"-j=4"
|
||||
],
|
||||
"clangd.checkUpdates": true,
|
||||
"clang-format.executable": "/opt/mongodbtoolchain/v3/bin/clang-format",
|
||||
"clang-tidy.executable": "/opt/mongodbtoolchain/v3/bin/clang-tidy",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"eslint.validate": [
|
||||
"javascript"
|
||||
],
|
||||
"files.associations": {
|
||||
"SConstruct": "python",
|
||||
"SConscript": "python",
|
||||
"*.idl": "yaml",
|
||||
},
|
||||
"files.insertFinalNewline": true,
|
||||
"js/ts.implicitProjectConfig.target": "ES6",
|
||||
"python.autoComplete.extraPaths": [
|
||||
"/opt/mongodbtoolchain/v3/share/gcc-8.5.0/python",
|
||||
"src/third_party/scons-3.1.2/scons-local-3.1.2"
|
||||
],
|
||||
"python.defaultInterpreterPath": "python3-venv/bin/python",
|
||||
"python.formatting.yapfPath": "python3-venv/bin/yapf",
|
||||
"python.formatting.provider": "yapf",
|
||||
"python.linting.pylintEnabled": true,
|
||||
"python.analysis.extraPaths": [
|
||||
"/opt/mongodbtoolchain/v3/share/gcc-8.5.0/python",
|
||||
"src/third_party/scons-3.1.2/scons-local-3.1.2"
|
||||
],
|
||||
"python.linting.mypyEnabled": true,
|
||||
"python.linting.mypyPath": "python3-venv/bin/mypy",
|
||||
"[c]": {
|
||||
"editor.defaultFormatter": "xaver.clang-format",
|
||||
"editor.formatOnSave": true,
|
||||
},
|
||||
"[cpp]": {
|
||||
"editor.defaultFormatter": "xaver.clang-format",
|
||||
"editor.formatOnSave": true,
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "xaver.clang-format",
|
||||
"editor.formatOnSave": true,
|
||||
},
|
||||
},
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"ms-python.python",
|
||||
"xaver.clang-format",
|
||||
"notskm.clang-tidy"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"disableSizeLimit": true,
|
||||
"target": "ES6"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"src/third_party"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"eslint": "7.22.0"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue