2020-08-19 21:49:23 +00:00
|
|
|
{
|
2022-02-11 19:57:49 +00:00
|
|
|
"python.defaultInterpreterPath": "api/tacticalrmm/env/bin/python",
|
2020-10-21 06:14:40 +00:00
|
|
|
"python.languageServer": "Pylance",
|
|
|
|
"python.analysis.extraPaths": [
|
2020-11-29 23:40:29 +00:00
|
|
|
"api/tacticalrmm",
|
2021-02-23 09:50:57 +00:00
|
|
|
"api/env",
|
2020-10-21 06:14:40 +00:00
|
|
|
],
|
2021-02-23 09:50:57 +00:00
|
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
|
|
"reportUnusedImport": "error",
|
|
|
|
"reportDuplicateImport": "error",
|
2022-04-08 01:55:02 +00:00
|
|
|
"reportGeneralTypeIssues": "none"
|
2021-02-23 09:50:57 +00:00
|
|
|
},
|
2020-10-21 06:14:40 +00:00
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
2022-04-08 01:55:02 +00:00
|
|
|
"mypy.runUsingActiveInterpreter": true,
|
|
|
|
"python.linting.enabled": true,
|
|
|
|
"python.linting.mypyEnabled": true,
|
|
|
|
"python.linting.mypyArgs": [
|
|
|
|
"--ignore-missing-imports",
|
|
|
|
"--follow-imports=silent",
|
|
|
|
"--show-column-numbers",
|
|
|
|
"--strict"
|
|
|
|
],
|
2020-08-19 21:49:23 +00:00
|
|
|
"python.formatting.provider": "black",
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"vetur.format.defaultFormatter.js": "prettier",
|
|
|
|
"vetur.format.defaultFormatterOptions": {
|
|
|
|
"prettier": {
|
|
|
|
"semi": true,
|
|
|
|
"printWidth": 120,
|
|
|
|
"tabWidth": 2,
|
|
|
|
"useTabs": false,
|
|
|
|
"arrowParens": "avoid",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"vetur.format.options.tabSize": 2,
|
|
|
|
"vetur.format.options.useTabs": false,
|
|
|
|
"files.watcherExclude": {
|
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/node_modules/": true,
|
|
|
|
"/node_modules/**": true,
|
|
|
|
"**/env/": true,
|
|
|
|
"/env/**": true,
|
|
|
|
"**/__pycache__": true,
|
|
|
|
"/__pycache__/**": true,
|
|
|
|
"**/.cache": true,
|
|
|
|
"**/.eggs": true,
|
|
|
|
"**/.ipynb_checkpoints": true,
|
|
|
|
"**/.mypy_cache": true,
|
|
|
|
"**/.pytest_cache": true,
|
|
|
|
"**/*.egg-info": true,
|
|
|
|
"**/*.feather": true,
|
|
|
|
"**/*.parquet*": true,
|
|
|
|
"**/*.pyc": true,
|
|
|
|
"**/*.zip": true
|
|
|
|
},
|
|
|
|
},
|
2021-01-08 18:15:55 +00:00
|
|
|
"go.useLanguageServer": true,
|
|
|
|
"[go]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": false,
|
|
|
|
},
|
|
|
|
"editor.snippetSuggestions": "none",
|
|
|
|
},
|
|
|
|
"[go.mod]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"gopls": {
|
|
|
|
"usePlaceholders": true,
|
|
|
|
"completeUnimported": true,
|
|
|
|
"staticcheck": true,
|
2022-04-08 01:55:02 +00:00
|
|
|
},
|
|
|
|
"mypy.targets": [
|
|
|
|
"api/tacticalrmm"
|
|
|
|
],
|
|
|
|
"python.linting.ignorePatterns": [
|
|
|
|
"**/site-packages/**/*.py",
|
|
|
|
".vscode/*.py",
|
|
|
|
"**env/**"
|
|
|
|
]
|
2020-08-19 21:49:23 +00:00
|
|
|
}
|