Files
sentinel/.vscode/settings.json
2024-02-15 17:01:50 +00:00

106 lines
2.6 KiB
JSON

{
"files.exclude": {
"*.egg-info": true,
"*.log": false,
"**/*.js.map": true,
"**/*.min.js": true,
"**/*.pyc": true,
"build": true,
"htmlcov": true,
"node_modules": true,
"src/sentry/locale": true,
"src/sentry/static/sentry/dist/": true,
"model-manifest.json": true
},
"search.followSymlinks": false,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"[javascript]": {
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.fixAll.eslint": "explicit"
}
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.fixAll.eslint": "explicit"
}
},
// Exclude Specific Files from Auto-Imports
"typescript.preferences.autoImportFileExcludePatterns": [
"**/config/chartcuterie/*",
"**/node_modules/@testing-library/*",
"**/node_modules/@tanstack/react-query"
],
// Avoid relative imports
"typescript.preferences.importModuleSpecifier": "non-relative",
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.fixAll.eslint": "explicit"
}
},
"[javascriptreact]": {
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.fixAll.eslint": "explicit"
}
},
"[less]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[html]": {
"editor.formatOnSave": false
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit"
}
},
"[markdown]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"editor.tabSize": 4,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
"python.testing.pytestArgs": ["tests"]
}