123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- {
- "files.exclude": {
- "*.egg-info": true,
- "*.log": false,
- "**/*.js.map": true,
- "**/*.min.js": true,
- "**/*.pyc": true,
- "build": true,
- "htmlcov": true,
- "model-manifest.json": true,
- "node_modules": true,
- "src/sentry/locale": true,
- "src/sentry/static/sentry/dist/": true
- },
- "search.followSymlinks": false,
- "files.trimTrailingWhitespace": true,
- "files.trimFinalNewlines": true,
- "files.insertFinalNewline": true,
- "[javascript][typescript][javascriptreact][typescriptreact]": {
- "editor.formatOnSave": true,
- "editor.tabSize": 2,
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- "editor.codeActionsOnSave": {
- "quickfix.biome": "explicit",
- "source.fixAll.eslint": "explicit"
- }
- },
- "[python]": {
- "editor.insertSpaces": true,
- "editor.detectIndentation": false,
- "editor.tabSize": 4,
- "editor.formatOnSave": true,
- "editor.codeActionsOnSave": {
- "source.organizeImports": "explicit"
- },
- "editor.defaultFormatter": "ms-python.black-formatter"
- },
- // auto-formatting breaks Django templates
- // see https://github.com/Microsoft/vscode/issues/44342
- "[html]": {
- "editor.insertSpaces": true,
- "editor.detectIndentation": false,
- "editor.tabSize": 2,
- "editor.formatOnSave": false
- },
- "[less]": {
- "editor.formatOnSave": true,
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": "explicit"
- }
- },
- "[json]": {
- "editor.insertSpaces": true,
- "editor.detectIndentation": false,
- "editor.tabSize": 2,
- "editor.formatOnSave": true,
- "editor.defaultFormatter": "biomejs.biome",
- "editor.codeActionsOnSave": {
- "quickfix.biome": "explicit"
- }
- },
- "[yaml]": {
- "editor.insertSpaces": true,
- "editor.detectIndentation": false,
- "editor.tabSize": 2,
- "editor.formatOnSave": true,
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- "editor.codeActionsOnSave": {
- "quickfix.biome": "explicit"
- }
- },
- "[markdown]": {
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": "explicit"
- }
- },
- "[dockerfile]": {
- "editor.insertSpaces": true,
- "editor.detectIndentation": false,
- "editor.tabSize": 4,
- "editor.formatOnSave": true
- },
- // Exclude Specific Files from Auto-Imports
- "typescript.preferences.autoImportFileExcludePatterns": [
- "**/config/chartcuterie/*",
- "**/node_modules/@testing-library/*",
- "**/node_modules/@tanstack/react-query",
- "**/react-dom/test-utils/*"
- ],
- // Avoid relative imports
- "typescript.preferences.importModuleSpecifier": "non-relative",
- "editor.tabSize": 4,
- "python.testing.pytestEnabled": true,
- "python.testing.unittestEnabled": false,
- "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
- "python.testing.pytestArgs": ["tests"],
- "python.analysis.autoImportCompletions": true,
- "prettier.configPath": "package.json"
- }
|